Adrian Schröter 2018-09-17 09:12:13 +00:00 committed by Git OBS Bridge
parent d23d4feb39
commit 0049fa3ec6
4 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<servicedata>
<service name="tar_scm">
<param name="url">git@github.com:openSUSE/obs-service-set_version.git</param>
<param name="changesrevision">1b55ceff184bc1ea93777efa57eb1e16e10bd469</param></service>
<param name="changesrevision">4c2bc9a5a1b4707c2ebb9b326d18fac16ea88782</param></service>
</servicedata>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:253da1707568a375f7de780281178cec37462e2fb29dc0923cb3ee4b076e6691
size 15112
oid sha256:ae93c82c695d04f0823df3b8e10f692d73c8ffddac5924b1be2dd2560d1cb7e3
size 15401

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 17 09:04:10 UTC 2018 - adrian@suse.de
- Update to version 0.5.9:
* second place where zip file handling can crash
- enable test suite
-------------------------------------------------------------------
Mon Sep 17 08:23:01 UTC 2018 - adrian@suse.de

View File

@ -26,6 +26,8 @@ License: GPL-2.0-or-later
Group: Development/Tools/Building
Url: https://github.com/openSUSE/obs-service-%{service}
Source: %{name}-%{version}.tar.gz
BuildRequires: python3-ddt
BuildRequires: python3-flake8
%if 0%{?suse_version}
%if 0%{?suse_version} > 1315
Recommends: python3-packaging
@ -52,6 +54,9 @@ a given version or to the existing files.
sed -i -e "1 s,#!/usr/bin/python$,#!/usr/bin/python3," set_version
%endif
%check
make test PYTHON=python3
%install
mkdir -p %{buildroot}%{_prefix}/lib/obs/service
install -m 0755 set_version %{buildroot}%{_prefix}/lib/obs/service