From c7391f3c982baa7e4af15f3873beb0b0a968c6bf Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 12 Aug 2024 12:00:42 +0300 Subject: [PATCH] - Set arch as x86_64_v2 for config file --- gpgme.spec | 13 +++++++++---- sources | 2 ++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 sources diff --git a/gpgme.spec b/gpgme.spec index aa59383..a9d4d20 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -241,9 +241,10 @@ rm -fv %{buildroot}%{_libdir}/lib*.la %ifarch %{multilib_arches} # Workaround for x86_64_v2 %ifarch x86_64_v2 -%define arch x86_64_v2 -%endif +mv %{buildroot}%{_bindir}/gpgme-config{,.x86_64} +%else mv %{buildroot}%{_bindir}/gpgme-config{,.%{_target_cpu}} +%endif cat > gpgme-config-multilib.sh <<__END__ #!/bin/sh exec %{_bindir}/gpgme-config.\$(arch) \$@ @@ -286,7 +287,11 @@ popd %{_bindir}/%{name}-config %{_bindir}/%{name}-tool %ifarch %{multilib_arches} +%ifarch x86_64_v2 +%{_bindir}/%{name}-config.x86_64 +%else %{_bindir}/%{name}-config.%{_target_cpu} +%endif %{_includedir}/%{name}-%{__isa_bits}.h %endif %{_includedir}/%{name}.h @@ -339,10 +344,10 @@ popd %{python3_sitearch}/gpg/ %changelog -* Mon Aug 12 2024 Eduard Abdullin - 1.23.2-6.alma.1 +* Mon Aug 12 2024 Eduard Abdullin - 1.23.2-5.alma.1 - Set arch as x86_64_v2 for config file -* Mon Aug 05 2024 Michal Hlavinka - 1.23.2-6 +* Mon Aug 05 2024 Michal Hlavinka - 1.23.2-5 - fix static analysis findings (RHEL-44568) * Fri Jul 26 2024 Evgeny Fedin - 1.23.2-5 diff --git a/sources b/sources new file mode 100644 index 0000000..29336ce --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (gpgme-1.23.2.tar.bz2) = 6cfcd07e81a93de240582de5a46545420cee93d1f27fe20ea2c983780fdd3036b69fdba073cf549d68a20791e189bf4b3cdde14a43f912d2ab9ef3414c83ac75 +SHA512 (gpgme-1.23.2.tar.bz2.sig) = 65b7cdd4ce06bb0b15b13033d226423380338efdcb47ffc3f33780a92973453053f8f59b12a3f37e392e773bdd207a7420c25aa3a210c15eec45b7bfef6e891e