Compare commits
12 Commits
d00db35b4f
...
643b1a27c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
643b1a27c3 | ||
|
|
00f49b05b0 | ||
|
|
9058302365 | ||
|
|
0a3908f366 | ||
|
|
7675f7c607 | ||
|
|
6461552a7a | ||
|
|
48587c1766 | ||
|
|
2b0273334b | ||
|
|
b063a63856 | ||
|
|
15ee1e0fc6 | ||
|
|
3d17fc3bf5 | ||
|
|
91e434bbd3 |
BIN
21.0.0.tar.gz
Normal file
BIN
21.0.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,16 +1,14 @@
|
||||
%bcond_without python2
|
||||
|
||||
Name: pyOpenSSL
|
||||
Version: 19.1.0
|
||||
Release: 1
|
||||
Version: 21.0.0
|
||||
Release: 2
|
||||
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://www.pyopenssl.org/en/stable/
|
||||
Source0: https://github.com/pyca/pyopenssl/archive/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/pyca/pyopenssl/archive/%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python3-devel python2-cryptography python3-cryptography
|
||||
BuildRequires: python3-devel python3-cryptography
|
||||
BuildRequires: python3-setuptools python3-sphinx python3-sphinx_rtd_theme
|
||||
|
||||
%description
|
||||
@ -18,18 +16,6 @@ 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 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}
|
||||
Summary: A rather thin wrapper around (a subset of) the OpenSSL library.
|
||||
Requires: python3-six >= 1.5.2 python3-cryptography
|
||||
@ -45,40 +31,55 @@ Summary: Documents for %{name}
|
||||
Buildarch: noarch
|
||||
Requires: man info
|
||||
Provides: %{name}-doc
|
||||
Obsoletes: %{name}-doc
|
||||
Obsoletes: %{name}-doc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Man pages and other related documents for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%autosetup -n pyopenssl-%{version} -p1
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
make -C doc html SPHINXBUILD=sphinx-build-3
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python2-%{name}
|
||||
%license LICENSE
|
||||
%{python2_sitelib}/OpenSSL/*
|
||||
%{python2_sitelib}/%{name}-%{version}-py?.?.egg-info
|
||||
|
||||
%files -n python3-%{name}
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/OpenSSL/
|
||||
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
|
||||
%{python3_sitelib}/pyOpenSSL-*.egg-info
|
||||
|
||||
%files help
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.rst doc/_build/html
|
||||
|
||||
%changelog
|
||||
* Tue May 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 19.1.0-1
|
||||
* Mon Oct 24 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 21.0.0-2
|
||||
- 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
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user