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.
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
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
> -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
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
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
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
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/
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
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
`%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
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
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
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
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
> -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
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
_
> -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
>
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
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
> 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
> -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
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
> 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
24 matches
Mail list logo