Compare commits
No commits in common. "643b1a27c33e427f5f9276672da350b02e3c0a24" and "d00db35b4fa5e4f24b1547070aabaabf0afa2aea" have entirely different histories.
643b1a27c3
...
d00db35b4f
BIN
21.0.0.tar.gz
BIN
21.0.0.tar.gz
Binary file not shown.
BIN
pyOpenSSL-19.1.0.tar.gz
Normal file
BIN
pyOpenSSL-19.1.0.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,16 @@
|
|||||||
|
%bcond_without python2
|
||||||
|
|
||||||
Name: pyOpenSSL
|
Name: pyOpenSSL
|
||||||
Version: 21.0.0
|
Version: 19.1.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://www.pyopenssl.org/en/stable/
|
URL: https://www.pyopenssl.org/en/stable/
|
||||||
Source0: https://github.com/pyca/pyopenssl/archive/%{version}.tar.gz
|
Source0: https://github.com/pyca/pyopenssl/archive/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel python3-cryptography
|
BuildRequires: python2-devel python3-devel python2-cryptography python3-cryptography
|
||||||
BuildRequires: python3-setuptools python3-sphinx python3-sphinx_rtd_theme
|
BuildRequires: python3-setuptools python3-sphinx python3-sphinx_rtd_theme
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -16,6 +18,18 @@ pyOpenSSL is a rather thin wrapper around (a subset of) the OpenSSL library.
|
|||||||
With thin wrapper we mean that a lot of the object methods do nothing more
|
With thin wrapper we mean that a lot of the object methods do nothing more
|
||||||
than calling a corresponding function in the OpenSSL library.
|
than calling a corresponding function in the OpenSSL library.
|
||||||
|
|
||||||
|
%package -n python2-%{name}
|
||||||
|
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
||||||
|
Requires: python2-six >= 1.5.2 python2-cryptography
|
||||||
|
Obsoletes: pyOpenSSL < %{version}-%{release}
|
||||||
|
Provides: pyOpenSSL = %{version}-%{release}
|
||||||
|
%{?python_provide:%python_provide python2-pyOpenSSL}
|
||||||
|
|
||||||
|
%description -n python2-%{name}
|
||||||
|
pyOpenSSL is a rather thin wrapper around (a subset of) the OpenSSL library.
|
||||||
|
With thin wrapper we mean that a lot of the object methods do nothing more
|
||||||
|
than calling a corresponding function in the OpenSSL library.
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
||||||
Requires: python3-six >= 1.5.2 python3-cryptography
|
Requires: python3-six >= 1.5.2 python3-cryptography
|
||||||
@ -31,55 +45,40 @@ Summary: Documents for %{name}
|
|||||||
Buildarch: noarch
|
Buildarch: noarch
|
||||||
Requires: man info
|
Requires: man info
|
||||||
Provides: %{name}-doc
|
Provides: %{name}-doc
|
||||||
Obsoletes: %{name}-doc < %{version}-%{release}
|
Obsoletes: %{name}-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Man pages and other related documents for %{name}.
|
Man pages and other related documents for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pyopenssl-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
make -C doc html SPHINXBUILD=sphinx-build-3
|
make -C doc html SPHINXBUILD=sphinx-build-3
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
%files -n python2-%{name}
|
||||||
|
%license LICENSE
|
||||||
|
%{python2_sitelib}/OpenSSL/*
|
||||||
|
%{python2_sitelib}/%{name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/OpenSSL/
|
%{python3_sitelib}/OpenSSL/
|
||||||
%{python3_sitelib}/pyOpenSSL-*.egg-info
|
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.rst doc/_build/html
|
%doc CHANGELOG.rst doc/_build/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 24 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 21.0.0-2
|
* Tue May 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 19.1.0-1
|
||||||
- fix obsoletes in spec
|
|
||||||
|
|
||||||
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 21.0.0-1
|
|
||||||
- Upgrade version to 21.0.0
|
|
||||||
|
|
||||||
* Tue Feb 02 2021 wuchaochao <wuchaochao4@huawei.com> - 20.0.1-1
|
|
||||||
- Update package version
|
|
||||||
|
|
||||||
* Fri Oct 30 2020 wangjie<wangjie294@huawei.com> -19.1.0-3
|
|
||||||
- Type:NA
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:remove python2
|
|
||||||
|
|
||||||
* Mon Sep 14 2020 shixuantong <shixuantong@huawei.com> - 19.1.0-2
|
|
||||||
- Type:NA
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:update source0
|
|
||||||
|
|
||||||
* Sun May 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 19.1.0-1
|
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user