Accepting request 83608 from system:install:head

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build (forwarded request 83084 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkmedia?expand=0&rev=13
This commit is contained in:
Lars Vogdt 2011-09-19 19:06:18 +00:00 committed by Git OBS Bridge
parent eb0938f104
commit 27fe350ebd
3 changed files with 7 additions and 72 deletions

View File

@ -1,60 +0,0 @@
#
# spec file for package checkmedia
#
# Copyright (c) 2011 SUSE LINUX Products 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/
#
# norootforbuild
Name: checkmedia
License: GPLv2+
Group: System/Management
AutoReqProv: on
Summary: Check Installation Media
Version: 2.5
Release: 1
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Checks installation CDs and DVDs for errors.
Authors:
--------
Steffen Winterfeldt
%prep
%setup
%build
make
%install
install -d -m 755 %{buildroot}/usr/bin
install -m 755 checkmedia tagmedia %{buildroot}/usr/bin
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
/usr/bin/checkmedia
/usr/bin/tagmedia
%doc README
%doc COPYING
%changelog

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 17 22:51:40 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 13 13:40:03 CEST 2011 - snwint@suse.de Wed Jul 13 13:40:03 CEST 2011 - snwint@suse.de

View File

@ -15,13 +15,11 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: checkmedia Name: checkmedia
License: GPLv2+ License: GPLv2+
Group: System/Management Group: System/Management
AutoReqProv: on
Summary: Check Installation Media Summary: Check Installation Media
Version: 2.5 Version: 2.5
Release: 1 Release: 1
@ -31,25 +29,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Checks installation CDs and DVDs for errors. Checks installation CDs and DVDs for errors.
Authors:
--------
Steffen Winterfeldt
%prep %prep
%setup %setup
%build %build
make make %{?_smp_mflags}
%install %install
install -d -m 755 %{buildroot}/usr/bin install -d -m 755 %{buildroot}/usr/bin
install -m 755 checkmedia tagmedia %{buildroot}/usr/bin install -m 755 checkmedia tagmedia %{buildroot}/usr/bin
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/usr/bin/checkmedia /usr/bin/checkmedia