14
0
forked from pool/python-pyasn1
Tomáš Chvátal
2018-12-07 11:40:57 +00:00
committed by Git OBS Bridge
parent 7e2061540c
commit 970a495290
2 changed files with 11 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 7 11:40:47 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Fix fdupes call
-------------------------------------------------------------------
Tue Aug 7 14:42:43 UTC 2018 - toddrme2178@gmail.com

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,18 +24,17 @@ Release: 0
Summary: ASN.1 types and codecs
License: BSD-2-Clause
Group: Development/Languages/Python
Url: https://github.com/etingof/pyasn1
Source: https://pypi.io/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
URL: https://github.com/etingof/pyasn1
Source: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%ifpython2
Obsoletes: %{oldpython}-asn1 < 0.2.3
Provides: %{oldpython}-asn1 = %{version}
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -52,13 +51,12 @@ specification.
%install
%python_install
%fdupes %{buildroot}%{_prefix}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %python_files
%defattr(-,root,root,-)
%files %{python_files}
%doc CHANGES.rst README.md TODO.rst
%license LICENSE.rst
%{python_sitelib}/*