diff --git a/python-pyasn1.changes b/python-pyasn1.changes index 4a134f4..cb219d2 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 7 11:40:47 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call + ------------------------------------------------------------------- Tue Aug 7 14:42:43 UTC 2018 - toddrme2178@gmail.com diff --git a/python-pyasn1.spec b/python-pyasn1.spec index 6b5d831..ba1efed 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -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}/*