Compare commits
5 Commits
1.5.0-1mam
...
1.9.0-1mam
Author | SHA1 | Date | |
---|---|---|---|
75699cdcb1 | |||
14a7dfe30d | |||
ecc041945c | |||
d2a223e258 | |||
e11ef05f04 |
@ -1,45 +1,26 @@
|
|||||||
Name: python-josepy
|
Name: python-josepy
|
||||||
Version: 1.5.0
|
Version: 1.9.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: JOSE protocol implementation in Python using cryptography
|
Summary: JOSE protocol implementation in Python using cryptography
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://pypi.python.org/pypi/josepy
|
URL: https://pypi.org/project/josepy/
|
||||||
Source: https://pypi.debian.net/josepy/josepy-%{version}.tar.gz
|
Source: https://pypi.debian.net/josepy/josepy-%{version}.tar.gz
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(cryptography)
|
||||||
|
BuildRequires: python3.7dist(pyopenssl)
|
||||||
|
BuildRequires: python3.7dist(setuptools)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython-devel
|
|
||||||
Requires: python >= %python_version
|
|
||||||
Requires: python-pyOpenSSL
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%if "%?with_pyver"
|
%if 0%{?with_pyver}
|
||||||
%define pyver %{with_pyver}
|
%pyver_package
|
||||||
%define pyappend py%{with_pyver}
|
|
||||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
||||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
||||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
||||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
||||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
||||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
||||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
||||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
||||||
|
|
||||||
%package py%{pyver}
|
|
||||||
Group: System/Libraries/Python
|
|
||||||
Summary: %{summary}.
|
|
||||||
Requires: python-pyOpenSSL-%{?pyappend}
|
|
||||||
%py_requires
|
|
||||||
|
|
||||||
%description py%{pyver}
|
|
||||||
%{summary}.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -57,7 +38,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%if "%{?pyappend}" != "py3"
|
%if "%{?pyappend}" != "py3"
|
||||||
rm -f %{buildroot}%{_bindir}/jws
|
rm -f %{buildroot}%{_bindir}/jws
|
||||||
@ -66,8 +47,25 @@ sed -i "/\/usr\/bin\/jws/d" %{name}.filelist
|
|||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/josepy-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/josepy-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 10 2021 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-2mamba
|
||||||
|
- rebuilt with distdeps
|
||||||
|
|
||||||
|
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user