Switch to using git to apply patches.
It makes hacking on the result easier.
This commit is contained in:
parent
cbe2d87bb2
commit
c504c93135
10
parted.spec
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user