- Update to version 0.5.3:
+ Use old version from testing data instead of hardcoding + Fix replacement of empty tags + Fix empty version checks for debian/changelog + fix when switching from .dev to non-dev version OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=71
This commit is contained in:
parent
884f2dc585
commit
c68b10c435
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 07:39:43 UTC 2017 - dmueller@suse.com
|
||||
|
||||
- switch to python3 for less ancient distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 12:26:06 UTC 2017 - opensuse-packaging@opensuse.org
|
||||
|
||||
|
@ -27,8 +27,12 @@ Group: Development/Tools/Building
|
||||
Url: https://github.com/openSUSE/obs-service-%{service}
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} > 1315
|
||||
Recommends: python3-packaging
|
||||
%else
|
||||
Recommends: python-packaging
|
||||
%endif
|
||||
%endif
|
||||
Requires: sed
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
@ -43,6 +47,9 @@ a given version or to the existing files.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} > 1315
|
||||
sed -i -e "1 s,#!/usr/bin/python$,#!/usr/bin/python3," set_version
|
||||
%endif
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/obs/service
|
||||
|
Loading…
Reference in New Issue
Block a user