From c104105c714f187084ed7f66bbaeb8d60e60b2abcbae61b1d8fbdc033544b672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 14 Jan 2014 07:13:50 +0000 Subject: [PATCH] - Add comment on py3 conditional and depend on python-argparse OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=16 --- spec-cleaner.changes | 5 +++++ spec-cleaner.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/spec-cleaner.changes b/spec-cleaner.changes index 17a49c0..0fd9193 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 14 07:12:56 UTC 2014 - tchvatal@suse.com + +- Add comment on py3 conditional and depend on python-argparse + ------------------------------------------------------------------- Thu Jan 9 17:35:34 UTC 2014 - tchvatal@suse.com diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 167b50a..6375686 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -26,9 +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 -Requires: python-base +Requires: python-argparse BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# This is just for tests +# It is conditional so we built on older distros too +# Drop after 12.2 and older are not targeted here %if 0%{?suse_version} > 01220 BuildRequires: python3 %endif