- Set arch as x86_64_v2 for config file
This commit is contained in:
parent
d23b3373a7
commit
c7391f3c98
13
gpgme.spec
13
gpgme.spec
@ -241,9 +241,10 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
|
|||||||
%ifarch %{multilib_arches}
|
%ifarch %{multilib_arches}
|
||||||
# Workaround for x86_64_v2
|
# Workaround for x86_64_v2
|
||||||
%ifarch x86_64_v2
|
%ifarch x86_64_v2
|
||||||
%define arch x86_64_v2
|
mv %{buildroot}%{_bindir}/gpgme-config{,.x86_64}
|
||||||
%endif
|
%else
|
||||||
mv %{buildroot}%{_bindir}/gpgme-config{,.%{_target_cpu}}
|
mv %{buildroot}%{_bindir}/gpgme-config{,.%{_target_cpu}}
|
||||||
|
%endif
|
||||||
cat > gpgme-config-multilib.sh <<__END__
|
cat > gpgme-config-multilib.sh <<__END__
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec %{_bindir}/gpgme-config.\$(arch) \$@
|
exec %{_bindir}/gpgme-config.\$(arch) \$@
|
||||||
@ -286,7 +287,11 @@ popd
|
|||||||
%{_bindir}/%{name}-config
|
%{_bindir}/%{name}-config
|
||||||
%{_bindir}/%{name}-tool
|
%{_bindir}/%{name}-tool
|
||||||
%ifarch %{multilib_arches}
|
%ifarch %{multilib_arches}
|
||||||
|
%ifarch x86_64_v2
|
||||||
|
%{_bindir}/%{name}-config.x86_64
|
||||||
|
%else
|
||||||
%{_bindir}/%{name}-config.%{_target_cpu}
|
%{_bindir}/%{name}-config.%{_target_cpu}
|
||||||
|
%endif
|
||||||
%{_includedir}/%{name}-%{__isa_bits}.h
|
%{_includedir}/%{name}-%{__isa_bits}.h
|
||||||
%endif
|
%endif
|
||||||
%{_includedir}/%{name}.h
|
%{_includedir}/%{name}.h
|
||||||
@ -339,10 +344,10 @@ popd
|
|||||||
%{python3_sitearch}/gpg/
|
%{python3_sitearch}/gpg/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 12 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.23.2-6.alma.1
|
* Mon Aug 12 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.23.2-5.alma.1
|
||||||
- Set arch as x86_64_v2 for config file
|
- Set arch as x86_64_v2 for config file
|
||||||
|
|
||||||
* Mon Aug 05 2024 Michal Hlavinka <mhlavink@redhat.com> - 1.23.2-6
|
* Mon Aug 05 2024 Michal Hlavinka <mhlavink@redhat.com> - 1.23.2-5
|
||||||
- fix static analysis findings (RHEL-44568)
|
- fix static analysis findings (RHEL-44568)
|
||||||
|
|
||||||
* Fri Jul 26 2024 Evgeny Fedin <efedin@redhat.com> - 1.23.2-5
|
* Fri Jul 26 2024 Evgeny Fedin <efedin@redhat.com> - 1.23.2-5
|
||||||
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA512 (gpgme-1.23.2.tar.bz2) = 6cfcd07e81a93de240582de5a46545420cee93d1f27fe20ea2c983780fdd3036b69fdba073cf549d68a20791e189bf4b3cdde14a43f912d2ab9ef3414c83ac75
|
||||||
|
SHA512 (gpgme-1.23.2.tar.bz2.sig) = 65b7cdd4ce06bb0b15b13033d226423380338efdcb47ffc3f33780a92973453053f8f59b12a3f37e392e773bdd207a7420c25aa3a210c15eec45b7bfef6e891e
|
Loading…
Reference in New Issue
Block a user