* Stephen Smoogen:

> On Tue, 3 Jan 2023 at 04:20, Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> 
> wrote:
>
>  On Tue, Jan 03, 2023 at 09:32:58AM +0100, Vitaly Zaitsev via devel wrote:
>  > On 02/01/2023 21:44, Zbigniew Jędrzejewski-Szmek wrote:
>  > > - fedpkg mockbuild
>  > 
>  > But it doesn't work correctly (will always use Release: 1) if you run
>  > "rpmbuild -bs foo-bar.spec" which is a very common scenario.
>
>  "Doctor, it hurts when I do that."
>
>  'rpmbuild -bs' is broken. Don't use it.
>
> Could you please elucidate why the command that people have used for
> nearly 30 years and is the most documented on how to build rpms is
> broken?

It's never been a reliable way to create a source RPM from a dist-git
checkout.  For example, it does not ensure that all the necessary
dependencies are installed, or that all the RPM macros are set up
correctly.

Thanks,
Florian
_______________________________________________
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/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to