- Cleanup spec file with spec-cleaner

- Use url for download

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/bs-update?expand=0&rev=2
This commit is contained in:
Martin Pluskal 2015-09-20 14:58:44 +00:00 committed by Git OBS Bridge
parent 78d2c9bedf
commit 50fc345071
3 changed files with 35 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 20 14:58:18 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use url for download
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 13 14:08:12 UTC 2015 - jmatejka@suse.cz Thu Aug 13 14:08:12 UTC 2015 - jmatejka@suse.cz

View File

@ -1,12 +1,35 @@
# norootforbuild #
# spec file for package bs-update
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: bs-update Name: bs-update
Version: 0.17 Version: 0.17
Release: 0 Release: 0
License: MIT
Summary: Automate maintenance of packages in a Build Service Summary: Automate maintenance of packages in a Build Service
Url: https://github.com/roman-neuhauser/%{name} License: MIT
Group: Development/Tools/Version Control Group: Development/Tools/Version Control
Url: https://github.com/roman-neuhauser/bs-update
Source0: https://github.com/roman-neuhauser/bs-update/archive/v%{version}.tar.gz
Source1: PKGBUILD
BuildRequires: coreutils
BuildRequires: filesystem
BuildRequires: gzip
BuildRequires: make
BuildRequires: zsh
Requires: coreutils Requires: coreutils
Requires: gzip Requires: gzip
Requires: osc Requires: osc
@ -14,14 +37,8 @@ Requires: sed
Requires: tar Requires: tar
Requires: wget Requires: wget
Requires: zsh Requires: zsh
Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: coreutils
BuildRequires: filesystem
BuildRequires: gzip
BuildRequires: make
BuildRequires: zsh
BuildArch: noarch BuildArch: noarch
BuildRoot: %_tmppath/%name-%version-build
%description %description
bs-update makes it easier to keep packages in a Build Service bs-update makes it easier to keep packages in a Build Service
@ -31,10 +48,10 @@ up-to-date with respect to their upstream sources.
%setup -q %setup -q
%build %build
make PREFIX=%{_prefix} make %{?_smp_mflags} PREFIX=%{_prefix}
%check %check
make check PREFIX=%{_prefix} make %{?_smp_mflags} check PREFIX=%{_prefix}
%install %install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} make install DESTDIR=%{buildroot} PREFIX=%{_prefix}