From 50fc3450712d198f782d72d099123a4ddab98ff939c4d0fc64785fd4080f8bdf Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 20 Sep 2015 14:58:44 +0000 Subject: [PATCH] - 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 --- bs-update.changes | 6 ++++ bs-update.spec | 41 +++++++++++++++++++-------- bs-update-0.17.tar.gz => v0.17.tar.gz | 0 3 files changed, 35 insertions(+), 12 deletions(-) rename bs-update-0.17.tar.gz => v0.17.tar.gz (100%) diff --git a/bs-update.changes b/bs-update.changes index 51fd6ec..0ca9bb3 100644 --- a/bs-update.changes +++ b/bs-update.changes @@ -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 diff --git a/bs-update.spec b/bs-update.spec index a522e40..ef1e35f 100644 --- a/bs-update.spec +++ b/bs-update.spec @@ -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 Version: 0.17 Release: 0 -License: MIT Summary: Automate maintenance of packages in a Build Service -Url: https://github.com/roman-neuhauser/%{name} +License: MIT 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: gzip Requires: osc @@ -14,14 +37,8 @@ Requires: sed Requires: tar Requires: wget Requires: zsh -Source: %{name}-%{version}.tar.gz -BuildRequires: coreutils -BuildRequires: filesystem -BuildRequires: gzip -BuildRequires: make -BuildRequires: zsh +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -BuildRoot: %_tmppath/%name-%version-build %description 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 %build -make PREFIX=%{_prefix} +make %{?_smp_mflags} PREFIX=%{_prefix} %check -make check PREFIX=%{_prefix} +make %{?_smp_mflags} check PREFIX=%{_prefix} %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} diff --git a/bs-update-0.17.tar.gz b/v0.17.tar.gz similarity index 100% rename from bs-update-0.17.tar.gz rename to v0.17.tar.gz