[gnupg] - Cleanup some autoreconf complaints by using a git repo

Brian C. Lane bcl at fedoraproject.org
Thu Feb 27 17:07:29 UTC 2014


commit 0f86aa3ba63c0a7f8c31b05abe51734e288371a8
Author: Brian C. Lane <bcl at redhat.com>
Date:   Thu Feb 27 08:46:34 2014 -0800

    - Cleanup some autoreconf complaints by using a git repo

 gnupg.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/gnupg.spec b/gnupg.spec
index 97ee208..677ddff 100644
--- a/gnupg.spec
+++ b/gnupg.spec
@@ -1,7 +1,7 @@
 Summary: A GNU utility for secure communication and data storage
 Name: gnupg
 Version: 1.4.16
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv3+ with exceptions
 Group: Applications/System
 Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
@@ -11,6 +11,7 @@ Patch0: gnupg-1.4.1-gcc.patch
 URL: http://www.gnupg.org/
 # Requires autoconf >= 2.60 because earlier autoconf didn't define $localedir.
 BuildRequires: autoconf >= 2.60
+BuildRequires: git
 BuildRequires: automake, bzip2-devel, expect, ncurses-devel
 BuildRequires: openldap-devel, readline-devel, zlib-devel, gettext-devel
 BuildRequires: curl-devel
@@ -32,13 +33,20 @@ only IDEA for symmetric-key encryption, which is patented worldwide).
 
 %prep
 %setup -q
-%patch0 -p1 -b .gcc
 
+git init
+git config user.email "gnupg-owner at fedoraproject.org"
+git config user.name "Fedora Ninjas"
+git add .
+git commit -a -q -m "%{version} baseline."
+git am %{patches}
 # Convert these files to UTF-8, per rpmlint.
 iconv -f koi8-ru -t utf-8 doc/gpg.ru.1 > doc/gpg.ru.utf8.1
 mv doc/gpg.ru.utf8.1 doc/gpg.ru.1
 iconv -f iso-8859-15 -t utf-8 THANKS > THANKS.utf8
 mv THANKS.utf8 THANKS
+git commit -a -m "run iconv"
+git tag -a %{name}-%{version} -m "baseline"
 
 autoreconf -vif
 
@@ -113,6 +121,9 @@ exit 0
 %{_mandir}/man7/gnupg.7.gz
 
 %changelog
+* Thu Feb 27 2014 Brian C. Lane <bcl at redhat.com> 1.4.16-4
+- Cleanup some autoreconf complaints
+
 * Sat Dec 21 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.4.16-3
 - Drop INSTALL from docs.
 - Fix bogus dates in %%changelog.


More information about the scm-commits mailing list