Accepting request 243896 from home:roman-neuhauser:branches:openSUSE:Tools

OBS-URL: https://build.opensuse.org/request/show/243896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=75
This commit is contained in:
Stephan Kulow 2014-08-08 09:13:27 +00:00 committed by Git OBS Bridge
parent e8070cae24
commit de89a48114
4 changed files with 8 additions and 14 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
<param name="changesrevision">745a470cfb</param>
<param name="changesrevision">22d55170f3</param>
</service>
</servicedata>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9092df374d96cd3ed0f43dc195d2d32477e8dbc1688f1d706be3ee972627c86
size 22927

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80c4fd8680966892b9e9c2e32215ddc5159c3d6db8cab680ec186f5870c40d71
size 24038

View File

@ -19,7 +19,7 @@
%define service tar_scm
Name: obs-service-%{service}
Version: 0.3.2.1404723797.745a470
Version: 0.3.2.1407326973.22d5517
Release: 0
Summary: An OBS source service: checkout or update a tar ball from svn/git/hg
License: GPL-2.0+
@ -49,17 +49,11 @@ It supports downloading from svn, git, hg and bzr repositories.
%build
%install
mkdir -p %{buildroot}%{_prefix}/lib/obs/service
install -m 0755 tar_scm %{buildroot}%{_prefix}/lib/obs/service
install -m 0644 tar_scm.service %{buildroot}%{_prefix}/lib/obs/service
mkdir -p %{buildroot}%{_sysconfdir}/obs/services
install -m 0644 tar_scm.rc %{buildroot}%{_sysconfdir}/obs/services/%{service}
make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}"
%if 0%{?suse_version} >= 1220
%check
: Running the test suite. Please be patient - this takes a few minutes ...
python tests/test.py
make check
%endif
%files