Re: [Rpm-maint] [rpm-software-management/rpm] Add parsed and expanded spec to src.rpm header (#1241) (PR #2047)

2023-01-09 Thread StefanBruens
@bmwiedemann - it may be possible to only put the core count into a shell 
variable, but the shell variable also must not be defined based on an rpm macro.

I.e. the `RPM_BUILD_NCPUS=\"%{_smp_build_ncpus}\"` in `%___build_pre` 
(`/usr/lib/rpm/macros`) already fails this condition.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2047#issuecomment-1375859995
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Add parsed and expanded spec to src.rpm header (#1241) (PR #2047)

2023-01-05 Thread Bernhard M. Wiedemann
I found that unfortunately this change makes many of our rpm builds 
unreproducible, because our .spec files contain things like `make 
%{?_smp_mflags}` and that gets expanded depending on the build machine CPU core 
count.

Is there an easy way to disable this or do you have a different proposal of how 
to build bit-identical rpms again?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2047#issuecomment-1372488940
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint