Compare commits

...

12 Commits

Author SHA1 Message Date
openeuler-ci-bot
643b1a27c3
!21 [sync] PR-20: 修改spec文件中的Obsoletes字段
From: @openeuler-sync-bot 
Reviewed-by: @zcfsite 
Signed-off-by: @zcfsite
2022-11-08 03:32:50 +00:00
zhengxiaoxiao
00f49b05b0 fix obsoletes in spec
Signed-off-by: zhengxiaoxiao <zhengxiaoxiao2@huawei.com>
(cherry picked from commit 77bac8cb2bce1d5a9c3c3d5bde62c952d3841348)
2022-10-24 10:44:34 +08:00
openeuler-ci-bot
9058302365
!18 【轻量级 PR】:fix bogus date in %changelog
From: @leeffo 
Reviewed-by: @zcfsite 
Signed-off-by: @zcfsite
2022-09-28 02:45:52 +00:00
loong-C
0a3908f366
fix bogus date in %changelog
![输入图片说明](https://images.gitee.com/uploads/images/2022/0615/151816_77203266_9884780.png "屏幕截图.png")
2022-06-15 07:18:49 +00:00
openeuler-ci-bot
7675f7c607 !15 [sync] PR-14: Upgrade version to 21.0.0
Merge pull request !15 from openeuler-sync-bot/sync-pr14-master-to-openEuler-22.03-LTS-Next
2021-12-28 09:06:49 +00:00
weiwei_tiantian
6461552a7a Upgrade version to 21.0.0
(cherry picked from commit d0e80633345eb766c4fdf0bca0290196a42d15cc)
2021-12-28 16:40:39 +08:00
openeuler-ci-bot
48587c1766 !10 update package version from 19.1.0 to 20.0.1
From: @wcc_140409
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
2021-02-03 16:19:24 +08:00
19909236985
2b0273334b update package version 2021-02-02 14:10:20 +08:00
openeuler-ci-bot
b063a63856 !9 remove python2
From: @jlwwlsqc
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
2020-11-02 17:20:13 +08:00
openeuler-ci-bot
15ee1e0fc6 remove python2
From: @tong_1001
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
2020-10-30 15:54:15 +08:00
openeuler-ci-bot
3d17fc3bf5 !6 update Source0
From: @tong_1001
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
2020-09-15 10:15:55 +08:00
sxt1001
91e434bbd3 update source0 2020-09-14 15:02:30 +08:00
3 changed files with 29 additions and 28 deletions

BIN
21.0.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -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