forked from pool/python-pyasn1
- Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=75
This commit is contained in:
committed by
Git OBS Bridge
parent
7e2061540c
commit
970a495290
@@ -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
|
||||
|
||||
|
@@ -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}/*
|
||||
|
Reference in New Issue
Block a user