From c504c93135f6f9f928e3266e8e35868c3ff73b27 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 17 Dec 2010 11:22:03 -0500 Subject: [PATCH] Switch to using git to apply patches. It makes hacking on the result easier. --- parted.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/parted.spec b/parted.spec index fc33926..cb21b9c 100644 --- a/parted.spec +++ b/parted.spec @@ -30,6 +30,7 @@ BuildRequires: libselinux-devel BuildRequires: libuuid-devel BuildRequires: libblkid-devel >= 2.17 BuildRequires: gnupg +BuildRequires: git Requires(post): /sbin/ldconfig Requires(post): /sbin/install-info @@ -60,9 +61,14 @@ Parted library, you need to install this package. %setup -q gpg --import %{SOURCE2} gpg --verify %{SOURCE1} %{SOURCE0} -%patch0 -p1 -%patch1 -p1 +git init +git config user.email "parted-owner@fedoraproject.org" +git config user.name "Fedora Ninjas" +git add . +git commit -a -q -m "%{version} baseline." +git am %{patches} iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS +git commit -a -m "run iconv" %build