From 7ff0bf91b8ab62f1bdec5bc8f1fbbdd271a499048c3534f658d5d0e64a5ce1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 15 Apr 2019 09:27:15 +0000 Subject: [PATCH] - Format with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ordered-set?expand=0&rev=2 --- python-ordered-set.changes | 5 +++++ python-ordered-set.spec | 23 +++++++---------------- 2 files changed, 12 insertions(+), 16 deletions(-) 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