[util-linux/f18] 2.22.1-2.3: cleanup spec file
kzak
kzak at fedoraproject.org
Mon Nov 19 14:01:16 UTC 2012
commit 1b5758c41a0df626354364acdfebd3dfa3dff98d
Author: Karel Zak <kzak at redhat.com>
Date: Mon Nov 19 15:00:46 2012 +0100
2.22.1-2.3: cleanup spec file
Signed-off-by: Karel Zak <kzak at redhat.com>
sources | 2 +-
util-linux.spec | 24 +++++++-----------------
2 files changed, 8 insertions(+), 18 deletions(-)
---
diff --git a/sources b/sources
index 7d69556..5f146c9 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-c6c15a1afc04d8a69d5b99db1c39623f util-linux-2.22.1.tar.xz
+730cf9932531ed09b53a04ca30fcb4c9 util-linux-2.22.1.tar.xz
a02aac97c74259ca1b24972c89147ca4 floppy-0.18.tar.bz2
diff --git a/util-linux.spec b/util-linux.spec
index 6ee1c64..0602229 100644
--- a/util-linux.spec
+++ b/util-linux.spec
@@ -2,7 +2,7 @@
Summary: A collection of basic system utilities
Name: util-linux
Version: 2.22.1
-Release: 2.2%{?dist}
+Release: 2.3%{?dist}
License: GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ and BSD with advertising and Public Domain
Group: System Environment/Base
URL: http://en.wikipedia.org/wiki/Util-linux
@@ -211,22 +211,9 @@ SMP systems.
%setup -q -a 11 -n %{name}-%{upstream_version}
cp %{SOURCE8} %{SOURCE9} .
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-
-%patch101 -p1
-%patch102 -p1
-%patch103 -p1
-%patch104 -p1
-%patch105 -p1
-%patch106 -p1
-%patch107 -p1
-%patch108 -p1
-%patch110 -p1
-%patch111 -p1
+for p in %{patches}; do
+ %{__patch} -p1 -F%{_default_patch_fuzz} -i "$p"
+done
%build
unset LINGUAS || :
@@ -754,6 +741,9 @@ fi
%changelog
+* Mon Nov 19 2012 Karel Zak <kzak at redhat.com> 2.22.1-2.3
+- use for() to apply patches, cleanup sources file
+
* Mon Nov 19 2012 Karel Zak <kzak at redhat.com> 2.22.1-2.2
- update tarball
More information about the scm-commits
mailing list