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