!2 python-pyasn1: Fixed build error
Merge pull request !2 from gnaygnil/master
This commit is contained in:
commit
900663a2ff
@ -1,6 +1,6 @@
|
|||||||
Name: python-pyasn1
|
Name: python-pyasn1
|
||||||
Version: 0.3.7
|
Version: 0.3.7
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: ASN.1 library for Python
|
Summary: ASN.1 library for Python
|
||||||
License: BSD
|
License: BSD
|
||||||
Source0: https://github.com/etingof/pyasn1/archive/v%{version}.tar.gz
|
Source0: https://github.com/etingof/pyasn1/archive/v%{version}.tar.gz
|
||||||
@ -8,7 +8,7 @@ Source1: https://github.com/etingof/pyasn1-modules/archive/v0.1.5.tar.gz
|
|||||||
URL: http://pyasn1.sourceforge.net/
|
URL: http://pyasn1.sourceforge.net/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
|
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
|
||||||
BuildRequires: python-unversioned-command python2-sphinx
|
BuildRequires: python-unversioned-command python2-sphinx libffi6
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Abstract Syntax Notation One (ASN.1) is a technology for exchanging structured data
|
Abstract Syntax Notation One (ASN.1) is a technology for exchanging structured data
|
||||||
@ -18,7 +18,6 @@ The pyasn1 library implements ASN.1 support in pure-Python.
|
|||||||
|
|
||||||
%package -n python2-pyasn1
|
%package -n python2-pyasn1
|
||||||
Summary: Pyasn1 in python 2
|
Summary: Pyasn1 in python 2
|
||||||
|
|
||||||
Provides: python2-pyasn1-modules
|
Provides: python2-pyasn1-modules
|
||||||
Obsoletes: python2-pyasn1-modules
|
Obsoletes: python2-pyasn1-modules
|
||||||
|
|
||||||
@ -32,7 +31,6 @@ Pyasn1 in python 2.
|
|||||||
|
|
||||||
%package -n python3-pyasn1
|
%package -n python3-pyasn1
|
||||||
Summary: Pyasn1 in python 3
|
Summary: Pyasn1 in python 3
|
||||||
|
|
||||||
Provides: python3-pyasn1-modules
|
Provides: python3-pyasn1-modules
|
||||||
Obsoletes: python3-pyasn1-modules
|
Obsoletes: python3-pyasn1-modules
|
||||||
%{?python_provide:%python_provide python3-pyasn1}
|
%{?python_provide:%python_provide python3-pyasn1}
|
||||||
@ -52,7 +50,6 @@ Documentation for python-pyasn1.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pyasn1-%{version} -p1 -b1
|
%autosetup -n pyasn1-%{version} -p1 -b1
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
cp -a ../pyasn1-modules-0.1.5 %{py3dir}-modules
|
cp -a ../pyasn1-modules-0.1.5 %{py3dir}-modules
|
||||||
@ -71,7 +68,6 @@ cd %{py3dir}-modules
|
|||||||
cd -
|
cd -
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
cd %{py3dir}
|
cd %{py3dir}
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
cd -
|
cd -
|
||||||
@ -119,6 +115,9 @@ cd -
|
|||||||
%doc doc/build/html/*
|
%doc doc/build/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 16 2020 Ling Yang <lingyang2@huawei.com> - 0.3.7-6
|
||||||
|
- Fixed build error
|
||||||
|
|
||||||
* Wed Nov 13 2019 dongjian <dongjian13@huawei.com> - 0.3.7-5
|
* Wed Nov 13 2019 dongjian <dongjian13@huawei.com> - 0.3.7-5
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
BIN
v0.1.5.tar.gz
BIN
v0.1.5.tar.gz
Binary file not shown.
BIN
v0.3.7.tar.gz
BIN
v0.3.7.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user