python-gpg-py3{10}: fix gpg module installation path [release 1.18.0-2mamba;Sat Aug 27 2022]
This commit is contained in:
parent
843014065b
commit
c2e5e7fdab
@ -1,7 +1,7 @@
|
||||
Name: libgpgme
|
||||
Epoch: 1
|
||||
Version: 1.18.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A library designed to make access to GnuPG easier for applications
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -88,6 +88,7 @@ Currently it uses GnuPG as its backend but the API isn't restricted to this engi
|
||||
Group: System/Libraries/Python
|
||||
Summary: Python bindings for gpgme
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: python-gpg-py36 < 1.18.0
|
||||
|
||||
%description -n python-gpg-py3
|
||||
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management.
|
||||
@ -136,6 +137,9 @@ sed -i "s|3\.6|3.x|" configure.ac
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
mv %{buildroot}%{python3_sitearch}/gpg-%{version}_unknown-py*.egg/gpg %{buildroot}%{python3_sitearch}/
|
||||
mv %{buildroot}%{python310_sitearch}/gpg-%{version}_unknown-py*.egg/gpg %{buildroot}%{python310_sitearch}/
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -172,15 +176,15 @@ exit 0
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitearch}/gpg-%{version}_unknown-py*.egg
|
||||
%{python3_sitearch}/gpg-%{version}_unknown-py*.egg/*
|
||||
#%dir %{python3_sitearch}/gpg
|
||||
#%{python3_sitearch}/gpg/*
|
||||
%dir %{python3_sitearch}/gpg
|
||||
%{python3_sitearch}/gpg/*
|
||||
|
||||
%files -n python-gpg-py310
|
||||
%defattr(-,root,root)
|
||||
%dir %{python310_sitearch}/gpg-%{version}_unknown-py*.egg
|
||||
%{python310_sitearch}/gpg-%{version}_unknown-py*.egg/*
|
||||
#%dir %{python3_sitearch}/gpg
|
||||
#%{python3_sitearch}/gpg/*
|
||||
%dir %{python310_sitearch}/gpg
|
||||
%{python310_sitearch}/gpg/*
|
||||
|
||||
#%ifnarch aarch64
|
||||
#%files -n python-gpg-py36
|
||||
@ -219,6 +223,9 @@ exit 0
|
||||
%{_bindir}/gpgme-json
|
||||
|
||||
%changelog
|
||||
* Sat Aug 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.0-2mamba
|
||||
- python-gpg-py3{10}: fix gpg module installation path
|
||||
|
||||
* Sat Aug 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.0-1mamba
|
||||
- update to 1.18.0
|
||||
|
||||
|
Reference in New Issue
Block a user