From 1ebb06c58545668b43b6063cad060b986f37b0e9e35d3544297af8efa9c84297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 2 Dec 2013 15:31:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=11 --- spec-cleaner-0.4.2.tar.gz | 3 --- spec-cleaner-0.5.0.tar.gz | 3 +++ spec-cleaner.spec | 11 +++++------ 3 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 spec-cleaner-0.4.2.tar.gz create mode 100644 spec-cleaner-0.5.0.tar.gz diff --git a/spec-cleaner-0.4.2.tar.gz b/spec-cleaner-0.4.2.tar.gz deleted file mode 100644 index d54fa0d..0000000 --- a/spec-cleaner-0.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:757fa9046ea99c6968c4df8b24899a7b1656dcaac7002ec069950478ea57cf2e -size 49679 diff --git a/spec-cleaner-0.5.0.tar.gz b/spec-cleaner-0.5.0.tar.gz new file mode 100644 index 0000000..4300e91 --- /dev/null +++ b/spec-cleaner-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43459381ab466edec39f085f897bf9aa27645f9c441e46cf954d123bac9fa9e5 +size 49868 diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 5d685b0..f9c843a 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -18,7 +18,7 @@ Name: spec-cleaner -Version: 0.4.2 +Version: 0.5.0 Release: 0 Summary: .spec file cleaner License: BSD-3-Clause @@ -26,12 +26,12 @@ Group: Development/Tools/Other Url: http://github.com/openSUSE/spec-cleaner Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz BuildRequires: python -%if 0%{?suse_version} > 01220 -BuildRequires: python3 -%endif Requires: python-base BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%if 0%{?suse_version} > 01220 +BuildRequires: python3 +%endif %description This script cleans spec file according to some arbitrary style guide. The @@ -44,8 +44,7 @@ will never be perfect. %build %check -# Fails for now, uncomment with next release -#make check -j1 +make check -j1 %install make DESTDIR=%{buildroot} install %{?_smp_mflags} \