forked from pool/spec-cleaner
- Make us build again for Fedora
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=37
This commit is contained in:
parent
b47111d625
commit
ab860da2b6
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user