Switch to using git to apply patches.

It makes hacking on the result easier.
This commit is contained in:
Peter Jones 2010-12-17 11:22:03 -05:00
parent cbe2d87bb2
commit c504c93135

View File

@ -30,6 +30,7 @@ BuildRequires: libselinux-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: gnupg BuildRequires: gnupg
BuildRequires: git
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
@ -60,9 +61,14 @@ Parted library, you need to install this package.
%setup -q %setup -q
gpg --import %{SOURCE2} gpg --import %{SOURCE2}
gpg --verify %{SOURCE1} %{SOURCE0} gpg --verify %{SOURCE1} %{SOURCE0}
%patch0 -p1 git init
%patch1 -p1 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 iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
git commit -a -m "run iconv"
%build %build