Include %__os_install_post_build_reproducibility
This commit is contained in:
parent
3a0ac39354
commit
6522bbd275
4
macros
4
macros
|
@ -278,6 +278,9 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
|
|||
# redhat-rpm-config maintainers, don't remove it from %%__os_install_post unless coordinating the change with Python maintainers
|
||||
# packagers, don't undefine the entire macro, see the individual macros in /usr/lib/rpm/macros.d/macros.python-srpm
|
||||
|
||||
# note: %%__os_install_post_build_reproducibility is defined in add-determinism.
|
||||
# See /usr/lib/rpm/macros.d/macros.build-reproducibility for details.
|
||||
|
||||
%__os_install_post \
|
||||
%{?__brp_ldconfig} \
|
||||
%{?__brp_compress} \
|
||||
|
@ -291,6 +294,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
|
|||
%{?__brp_mangle_shebangs} \
|
||||
%{?__brp_remove_la_files} \
|
||||
%{__os_install_post_python} \
|
||||
%{?__os_install_post_build_reproducibility} \
|
||||
%{nil}
|
||||
|
||||
%__spec_install_post\
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# 2) When making changes, increment the version (in baserelease) by 1.
|
||||
# rpmdev-bumpspec and other tools update the macro below, which is used
|
||||
# in Version: to get the desired effect.
|
||||
%global baserelease 288
|
||||
%global baserelease 289
|
||||
|
||||
Summary: Red Hat specific rpm configuration files
|
||||
Name: redhat-rpm-config
|
||||
|
@ -253,6 +253,13 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
|
|||
%doc buildflags.md
|
||||
|
||||
%changelog
|
||||
* Tue May 7 2024 Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl> - 289-1
|
||||
- Add %%__os_install_post_build_reproducibility to %%__os_install_post.
|
||||
This hooks 'add-determinism' post-processing tool into the build process.
|
||||
See https://fedoraproject.org/wiki/Changes/ReproduciblePackageBuilds
|
||||
and https://docs.fedoraproject.org/en-US/reproducible-builds/ for
|
||||
more details.
|
||||
|
||||
* Thu Apr 11 2024 Nikita Popov <npopov@redhat.com> - 288-1
|
||||
- Use Fat LTO with Clang
|
||||
|
||||
|
|
Loading…
Reference in New Issue