Add x86_64_v2 support
This commit is contained in:
parent
a95561f564
commit
1f418484e9
13
gpgme.spec
13
gpgme.spec
@ -17,7 +17,7 @@
|
||||
Name: gpgme
|
||||
Summary: GnuPG Made Easy - high level crypto API
|
||||
Version: 1.23.2
|
||||
Release: 6%{?dist}
|
||||
Release: 6%{?dist}.alma.1
|
||||
|
||||
# MIT: src/cJSON.{c,h} (used by gpgme-json)
|
||||
License: LGPL-2.1-or-later AND MIT
|
||||
@ -244,7 +244,11 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||
|
||||
# Hack to resolve multiarch conflict (#341351)
|
||||
%ifarch %{multilib_arches}
|
||||
%ifarch x86_64_v2
|
||||
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) \$@
|
||||
@ -287,7 +291,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
|
||||
@ -340,6 +348,9 @@ popd
|
||||
%{python3_sitearch}/gpg/
|
||||
|
||||
%changelog
|
||||
* Wed May 14 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.23.2-6.alma.1
|
||||
- Add x86_64_v2 support
|
||||
|
||||
## START: Generated by rpmautospec
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.23.2-8
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user