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