The package rpms/rng-tools.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rng-tools.git/commit/?id=805e2b6172f....
Change: +%ifarch i386 i686
Thanks.
Full change: ============
commit aed1fb4ff2daf6be02d586dd5aeb1ebf56ddd6f5 Author: Vladis Dronov vdronov@redhat.com Date: Thu Feb 2 21:36:10 2023 +0100
Update to the upstream v6.16 @ 0e560296
Add a hint for opensc package
Resolves: bz1845854
diff --git a/.gitignore b/.gitignore index a374aa4..3a63757 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/rng-tools-6.15.tar.gz +/rng-tools-6.16.tar.gz diff --git a/rng-tools.spec b/rng-tools.spec index 6783d6b..43b8eb6 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -11,8 +11,8 @@
Summary: Random number generator related utilities Name: rng-tools -Version: 6.15 -Release: 6%{?dist} +Version: 6.16 +Release: 1%{?dist} License: GPLv2+ URL: https://github.com/nhorman/rng-tools Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -33,6 +33,7 @@ BuildRequires: rtl-sdr-devel %endif %if %{with pkcs11} BuildRequires: libp11-devel +Suggests: opensc %endif
Requires(post): systemd @@ -103,6 +104,11 @@ install -D %{SOURCE2} -m0644 %{buildroot}%{_sysconfdir}/sysconfig/rngd %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/rngd
%changelog +* Thu Feb 02 2023 Vladis Dronov vdronov@redhat.com - 6.16-1 +- Update to the upstream v6.16 + tip of origin/master @ 0e560296 +- Get rid of text relocations in -fPIE build +- Add a hint for opensc package (bz 1845854) + * Fri Jan 20 2023 Fedora Release Engineering releng@fedoraproject.org - 6.15-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
diff --git a/sources b/sources index 9ef7609..5dbceb4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rng-tools-6.15.tar.gz) = eb4e3409c1d2b44644d3fd75afc9a47df2f273a47b1b9397a7eaf35c075bb9a9130c66975afd3cb0e5316d653d9b9c7c786695d4b514e51843c5a7976aea8554 +SHA512 (rng-tools-6.16.tar.gz) = 09d3ddc130486380efed726a29fb0a159f05140ee4e7f8a339af089dd75afaeaf2c3dc6a8b8ac955692a39ef9f4056a64cb2878c78a74f706776fb4fd563d7ec
commit 805e2b6172f5522a94e071d488076d5bb6c2871e Author: Vladis Dronov vdronov@redhat.com Date: Wed Feb 1 00:23:35 2023 +0100
Get rid of text relocations in -fPIE build
Fedora build system forces a PIE build with -fPIE indirectly via gcc spec /usr/lib/rpm/redhat/redhat-hardened-cc1. This does not work for assembly sources, so a PIC-aware assembly code won't be built as PIC (PIE implies PIC). rdrand_asm.S is PIC-aware in 32bit mode, so force PIC for it, fixing the following build warning:
/usr/bin/ld: rdrand_asm.o: warning: relocation in read-only section `.text' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
diff --git a/rng-tools.spec b/rng-tools.spec index 27ed689..6783d6b 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -63,6 +63,12 @@ TPM, jitter) and supplies entropy from them to a kernel entropy pool. %endif
./autogen.sh +# a dirty hack to force PIC for a PIC-aware assembly code for i686 +# /usr/lib/rpm/redhat/redhat-hardened-cc1 in Koji/Brew does not +# force PIC for assembly sources as of now +%ifarch i386 i686 +sed -i -e '/^#define RDRAND_RETRY_LIMIT\t10/a#define __PIC__ 1' rdrand_asm.S +%endif # a dirty hack so libdarn_impl_a_CFLAGS overrides common CFLAGS sed -i -e 's/$(libdarn_impl_a_CFLAGS) $(CFLAGS)/$(CFLAGS) $(libdarn_impl_a_CFLAGS)/' Makefile.in %configure %{?_without_pkcs11} %{?_without_rtlsdr}
commit 6aa90701c6840a93e43256b80acf8fb3d7c2255e Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 20 19:49:53 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rng-tools.spec b/rng-tools.spec index 29d64b1..27ed689 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -12,7 +12,7 @@ Summary: Random number generator related utilities Name: rng-tools Version: 6.15 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://github.com/nhorman/rng-tools Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -97,6 +97,9 @@ install -D %{SOURCE2} -m0644 %{buildroot}%{_sysconfdir}/sysconfig/rngd %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/rngd
%changelog +* Fri Jan 20 2023 Fedora Release Engineering releng@fedoraproject.org - 6.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Dec 27 2022 Vladis Dronov vdronov@redhat.com - 6.15-5 - Update to the upstream v6.15 + tip of origin/master @ cb8cc624
arch-excludes@lists.fedoraproject.org