Re: fedpkg: Failed to get repository name from Git url or pushurl -> %build

2023-03-08 Thread Björn Persson
Kenneth Goldman wrote: > Let's see if I have this right ... > > %build > %configure > %make_build > > are not three separate steps. %build is the overall step, and the next two > lines > are the build steps. The blank line terminates the %build. Correct? A blank line has no special meaning.

Re: fedpkg: Failed to get repository name from Git url or pushurl -> %build

2023-03-07 Thread Alexander Ploumistos
On Wed, Mar 8, 2023 at 12:15 AM Kenneth Goldman wrote: > > Where are the macros defined? I.e., %configure probably expands > to ./configure and %make_build to make. In addition to Chuck's reply, you can also use the --eval (or -E) flag with rpm to see the values of variables or to what a macro a

Re: fedpkg: Failed to get repository name from Git url or pushurl -> %build

2023-03-07 Thread Chuck Anderson
On Tue, Mar 07, 2023 at 11:14:34PM +, Kenneth Goldman wrote: > Let's see if I have this right ... > > %build > %configure > %make_build > > are not three separate steps. %build is the overall step, and the next two > lines > are the build steps. The blank line terminates the %build. Corre

RE: fedpkg: Failed to get repository name from Git url or pushurl -> %build

2023-03-07 Thread Kenneth Goldman
> -Original Message- > From: Vít Ondruch > Sent: Thursday, March 2, 2023 6:58 AM > To: devel@lists.fedoraproject.org > Subject: [EXTERNAL] Re: fedpkg: Failed to get repository name from Git url or > pushurl > > > How does it know what to build. Does it defau

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-07 Thread Otto Liljalaakso
Petr Pisar kirjoitti 7.3.2023 klo 16.48: V Tue, Mar 07, 2023 at 02:19:11PM -, Betty Liu napsal(a): I'm using CentOS stream 8 and I've downloaded the source code of yellow. In the same directory, I've made the spec file, but after I run fedpkg --release f28 mockbuild I worry that f28 is to

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-07 Thread Todd Zullinger
Petr Pisar wrote: > [...] Either turn that directory into a git repository (git > init-db . && git add hello.spec && git commit -a) ... Just a minor, tangential nit, `git init` is the preferred and documented command. The `git init-db` command is an ancient name for it. The documentation for `gi

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-07 Thread Betty Liu
Yeah thank you so much! I will switch to Fedora 37 and have a try again www ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-07 Thread Betty Liu
Thank you for your quick response! I will switch to Fedora and have a try! ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-07 Thread Petr Pisar
V Tue, Mar 07, 2023 at 02:19:11PM -, Betty Liu napsal(a): > I'm using CentOS stream 8 and I've downloaded the source code of yellow. In > the same directory, I've made the spec file, but after I run > fedpkg --release f28 mockbuild I worry that f28 is tool old and unknown to mock nowdays. T

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-07 Thread Scott Talbert
On Tue, 7 Mar 2023, Betty Liu wrote: Hi, I'm a beginner at fedora packaging and following the guide in the documentation. https://docs.fedoraproject.org/en-US/packaging-guidelines/ I'm using CentOS stream 8 and I've downloaded the source code of yellow. In the same directory, I've made the spe

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-02 Thread Vít Ondruch
`%configure` + `%make_build` macros. You could use different build commands (or macros) at this place. Vít -Original Message- From: Artur Frenszek-Iwicki Sent: Wednesday, February 15, 2023 11:43 AM To: devel@lists.fedoraproject.org Subject: [EXTERNAL] RE: fedpkg: Failed to get repo

RE: fedpkg: Failed to get repository name from Git url or pushurl

2023-03-01 Thread Kenneth Goldman
ile name of the URL? How does it know what to build. Does it default to configure;make or something similar? > -Original Message- > From: Artur Frenszek-Iwicki > Sent: Wednesday, February 15, 2023 11:43 AM > To: devel@lists.fedoraproject.org > Subject: [EXTERNAL] RE: fedpk

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-21 Thread Otto Liljalaakso
Otto Liljalaakso kirjoitti 21.2.2023 klo 11.45: Kenneth Goldman kirjoitti 14.2.2023 klo 21.19: https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_ GNU_Hello/ Working through the basic tutorial there: fedpkg --release f37 mockbuild fails with Failed to get repository

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-21 Thread Otto Liljalaakso
Vít Ondruch kirjoitti 15.2.2023 klo 12.21: Dne 14. 02. 23 v 20:19 Kenneth Goldman napsal(a): https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_ GNU_Hello/ I wish this was update to suggest to create git repository right from start. BTW I think that fedpkg could

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-21 Thread Otto Liljalaakso
Kenneth Goldman kirjoitti 14.2.2023 klo 21.19: https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_ GNU_Hello/ Working through the basic tutorial there: fedpkg --release f37 mockbuild fails with Failed to get repository name from Git url or pushurl Failed to get ns fro

RE: fedpkg: Failed to get repository name from Git url or pushurl - solved

2023-02-16 Thread Kenneth Goldman
> -Original Message- > From: Miro Hrončok > Sent: Thursday, February 16, 2023 8:56 AM > To: Kenneth Goldman ; > devel@lists.fedoraproject.org > Subject: [EXTERNAL] Re: fedpkg: Failed to get repository name from Git url or > pushurl - solved > > On 16. 02

Re: fedpkg: Failed to get repository name from Git url or pushurl - solved

2023-02-16 Thread Miro Hrončok
On 16. 02. 23 14:50, Kenneth Goldman wrote: Could not execute mockbuild: Could not query n-v-r of hello: 'utf-8' codec can't decode byte 0x93 in position 259: invalid start byte That indicates it's not actually UTF-8. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _

RE: fedpkg: Failed to get repository name from Git url or pushurl - solved

2023-02-16 Thread Kenneth Goldman
> -Original Message- > From: Miro Hrončok > Sent: Wednesday, February 15, 2023 5:19 PM > To: Development discussions related to Fedora ; > Kenneth Goldman > Subject: [EXTERNAL] Re: fedpkg: Failed to get repository name from Git url or > pushurl - solved >

Re: fedpkg: Failed to get repository name from Git url or pushurl - solved

2023-02-15 Thread Miro Hrončok
On 15. 02. 23 22:48, Kenneth Goldman wrote: However, the %Description item has some 'smart quotes', which cut and paste as utf-something. fedpkg doesn't like those characters. What does "fedpkg doesn't like those characters" actually mean? I don't believe fedpkg validates the %description and

RE: fedpkg: Failed to get repository name from Git url or pushurl - solved

2023-02-15 Thread Kenneth Goldman
If a maintainer of the packaging tutorial at https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_GNU_Hello/ is listening ... There is a sample spec file. An obvious step for a newbie after running rpmdev-newspec is to cut and paste from the web page sample to .spec file

RE: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-15 Thread Artur Frenszek-Iwicki
> Should that tutorial work? Is it perhaps obsolete? I'd say the opposite of obsolete - it's been updated to suggest using fedpkg all along the way, instead of the old rpmbuild tools. But it looks like it wasn't tested enough to make sure everything works. > My newbie understanding is that fedpkg

RE: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-15 Thread Kenneth Goldman
> -Original Message- > From: Artur Frenszek-Iwicki > Sent: Tuesday, February 14, 2023 6:03 PM > To: devel@lists.fedoraproject.org > Subject: [EXTERNAL] Re: fedpkg: Failed to get repository name from Git url > or > pushurl > > > Is there another argument to

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-15 Thread Vít Ondruch
Dne 14. 02. 23 v 20:19 Kenneth Goldman napsal(a): https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_ GNU_Hello/ I wish this was update to suggest to create git repository right from start. BTW I think that fedpkg could help with this task and therefore opened this

Re: fedpkg: Failed to get repository name from Git url or pushurl

2023-02-14 Thread Artur Frenszek-Iwicki
> Is there another argument to fedpkg? fedpkg has a --name argument, you can try using that. Alternatively, if you're just taking your first steps with packaging, you can try: $ rpmbuild -bs path/to/your.spec $ mock path/to/file-created-by-previous-command.srpm This will first build an SRPM ("so