From ab860da2b6cd8d0e5ecb91b85b6e3c56b590154659e0caa0eb591f7651c18de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 12 Oct 2014 09:27:33 +0000 Subject: [PATCH 1/2] - Make us build again for Fedora OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=37 --- spec-cleaner.changes | 5 +++++ spec-cleaner.spec | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/spec-cleaner.changes b/spec-cleaner.changes index b571891..f9b4830 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 12 09:27:16 UTC 2014 - tchvatal@suse.com + +- Make us build again for Fedora + ------------------------------------------------------------------- Mon Sep 22 13:21:47 UTC 2014 - tchvatal@suse.com diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 8550284..b9432b7 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -17,6 +17,8 @@ # +# This is used for Fedora, we need to sync this +%{!?py3_ver: %define py3_ver %{python3_version}} Name: spec-cleaner Version: 0.6.2 Release: 0 @@ -25,6 +27,7 @@ License: BSD-3-Clause Group: Development/Tools/Other Url: http://github.com/openSUSE/spec-cleaner Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz +BuildRequires: python3-devel BuildRequires: python3-mock BuildRequires: python3-nose BuildRequires: python3-setuptools @@ -41,6 +44,11 @@ will never be perfect. %prep %setup -q -n %{name}-%{name}-%{version} +# set libexec properly so it works on Fedora too +sed -i \ + -e 's:/usr/lib/obs/:%{_libexecdir}/obs/:g' \ + setup.py + %build python3 setup.py build From cb3af738d672ddf2d87f8a29f03ada45774b84179d3b7ec5df8fa9b2b97a981c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 12 Oct 2014 09:34:05 +0000 Subject: [PATCH 2/2] - Version bump to 0.6.3: * Fix diff mode * Various %if macro whitespacing issues squashing * Base pkgconf conversions from 13.2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=38 --- spec-cleaner-0.6.2.tar.gz | 3 --- spec-cleaner-0.6.3.tar.gz | 3 +++ spec-cleaner.changes | 8 ++++++++ spec-cleaner.spec | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 spec-cleaner-0.6.2.tar.gz create mode 100644 spec-cleaner-0.6.3.tar.gz diff --git a/spec-cleaner-0.6.2.tar.gz b/spec-cleaner-0.6.2.tar.gz deleted file mode 100644 index fa2a0cf..0000000 --- a/spec-cleaner-0.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d88951130786bafc9cba47c948ff5e4818dfd7a2b81768c79e3410764f5115e -size 61991 diff --git a/spec-cleaner-0.6.3.tar.gz b/spec-cleaner-0.6.3.tar.gz new file mode 100644 index 0000000..da89ff5 --- /dev/null +++ b/spec-cleaner-0.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3c233f1832281acf6379f36a833ceaca91b28dbcc8bab99a5ba31a69c430827 +size 64252 diff --git a/spec-cleaner.changes b/spec-cleaner.changes index f9b4830..8bac21e 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Oct 12 09:33:22 UTC 2014 - tchvatal@suse.com + +- Version bump to 0.6.3: + * Fix diff mode + * Various %if macro whitespacing issues squashing + * Base pkgconf conversions from 13.2 + ------------------------------------------------------------------- Sun Oct 12 09:27:16 UTC 2014 - tchvatal@suse.com diff --git a/spec-cleaner.spec b/spec-cleaner.spec index b9432b7..6a50db4 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -20,7 +20,7 @@ # This is used for Fedora, we need to sync this %{!?py3_ver: %define py3_ver %{python3_version}} Name: spec-cleaner -Version: 0.6.2 +Version: 0.6.3 Release: 0 Summary: .spec file cleaner License: BSD-3-Clause