From d5f72c742e04c7dfba544a5d61b9e65fca095ad835e4bea0a2fc23844b8d15d9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 26 May 2012 09:24:01 +0000 Subject: [PATCH] Remove redundant tags/sections from specfile OBS-URL: https://build.opensuse.org/package/show/filesystems/mtd-utils?expand=0&rev=3 --- mtd-utils.changes | 6 ++++++ mtd-utils.spec | 14 ++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/mtd-utils.changes b/mtd-utils.changes index eefc90e..cc7e0d7 100644 --- a/mtd-utils.changes +++ b/mtd-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 26 09:22:55 UTC 2012 - jengelh@inai.de + +- Remove redundant tags/sections from specfile +- Parallel build with %_smp_mflags + ------------------------------------------------------------------- Thu Apr 26 01:06:21 UTC 2012 - jeffm@suse.com diff --git a/mtd-utils.spec b/mtd-utils.spec index 66203a4..73b3af7 100644 --- a/mtd-utils.spec +++ b/mtd-utils.spec @@ -1,5 +1,3 @@ -# norootforbuild - Name: mtd-utils Version: 1.2.0 Release: 0 @@ -7,7 +5,7 @@ Summary: Tools for maintaining Memory Technology Devices Source: mtd-utils-%{version}.tar.bz2 URL: http://www.linux-mtd.infradead.org/ Group: System/Filesystems -License: GNU General Public License version 2 or later (GPL v2 or later) +License: GPL-2.0+ BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: libuuid-devel BuildRequires: lzo-devel @@ -24,7 +22,7 @@ including JFFS2, M-Systems DiskOnChip devices, etc. %setup -q %build -%__make %{?jobs:-j%{jobs}} \ +make %{?_smp_mflags} \ CFLAGS="%{optflags}" \ CC="%__cc" \ PREFIX="%{_prefix}" @@ -36,9 +34,6 @@ including JFFS2, M-Systems DiskOnChip devices, etc. MANDIR="%{_mandir}" \ install -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - %files %defattr(-,root,root) %doc COPYING *txt @@ -91,8 +86,3 @@ including JFFS2, M-Systems DiskOnChip devices, etc. %doc %{_mandir}/man1/mkfs.jffs2.1%{ext_man} %changelog -# vim: set sw=3 ts=3 noet: -# Local Variables: -# mode: rpm-spec -# tab-width: 3 -# End: