diff --git a/python-ordered-set.changes b/python-ordered-set.changes index ddb22e4..96c59ea 100644 --- a/python-ordered-set.changes +++ b/python-ordered-set.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 15 09:26:41 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Sat Mar 2 23:34:06 UTC 2019 - Neal Gompa diff --git a/python-ordered-set.spec b/python-ordered-set.spec index 42f4576..ab1baf9 100644 --- a/python-ordered-set.spec +++ b/python-ordered-set.spec @@ -1,6 +1,7 @@ # -# spec file for package python-ordered-set +# spec file for package python # +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 Neal Gompa . # # All modifications and additions to the file contributed by third parties @@ -18,54 +19,44 @@ %global short_name ordered-set %global dir_name ordered_set - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{short_name} Version: 2.0.2 Release: 0 Summary: Custom MutableSet that remembers its order -Group: Development/Libraries/Python License: MIT +Group: Development/Libraries/Python URL: https://github.com/LuminosoInsight/ordered-set Source0: https://pypi.python.org/packages/source/o/%{short_name}/%{short_name}-%{version}.tar.gz - -BuildArch: noarch - -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} - +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch %python_subpackages %description An OrderedSet is a custom MutableSet that remembers its order, so that every entry has an index that can be looked up. - %prep %autosetup -n %{short_name}-%{version} -p1 - %build %python_build - %install %python_install - %python_expand %fdupes %{buildroot}%{$python_sitelib} - %check %python_exec setup.py nosetests - %files %{python_files} %license MIT-LICENSE %doc README %{python_sitelib}/%{dir_name}-* %{python_sitelib}/%{dir_name}.py* -%python3_only %{python3_sitelib}/__pycache__/%{dir_name}.* +%pycache_only %{python3_sitelib}/__pycache__/%{dir_name}.* %changelog