[ding-libs] Run autoreconf before configure
Jakub Hrozek
jhrozek at fedoraproject.org
Mon Mar 25 13:56:32 UTC 2013
commit eb2f0f0ea646111280293fd215b2fa2704917840
Author: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon Mar 25 10:54:19 2013 +0100
Run autoreconf before configure
Resolves: #925258
...PROG_AR-in-configure.ac-to-get-rid-of-war.patch | 27 ++++++++++++++++++++
ding-libs.spec | 10 ++++++-
2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/0001-Include-AM_PROG_AR-in-configure.ac-to-get-rid-of-war.patch b/0001-Include-AM_PROG_AR-in-configure.ac-to-get-rid-of-war.patch
new file mode 100644
index 0000000..5926119
--- /dev/null
+++ b/0001-Include-AM_PROG_AR-in-configure.ac-to-get-rid-of-war.patch
@@ -0,0 +1,27 @@
+From 41a7811b2a4e07a30701508bbbb4b16d4ce1e0ba Mon Sep 17 00:00:00 2001
+From: Jakub Hrozek <jhrozek at redhat.com>
+Date: Mon, 25 Mar 2013 11:03:19 +0100
+Subject: [PATCH] Include AM_PROG_AR in configure.ac to get rid of warnings
+
+---
+ configure.ac | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2e22e8a6aaac271dfa4841c17f98411967e09fd9..8f0f1244ecaa627c1d1543407344e5c31b3eeb6b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,7 +5,9 @@ AC_INIT([ding-libs],
+ AC_CONFIG_SRCDIR([README])
+ AC_CONFIG_AUX_DIR([build])
+ AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+-AC_PROG_CC
++AM_PROG_CC_C_O
++m4_pattern_allow([AM_PROG_AR])
++AM_PROG_AR
+ AC_PROG_LIBTOOL
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_PROG_INSTALL
+--
+1.8.1.4
+
diff --git a/ding-libs.spec b/ding-libs.spec
index a3822d9..5b57f39 100644
--- a/ding-libs.spec
+++ b/ding-libs.spec
@@ -1,6 +1,6 @@
Name: ding-libs
Version: 0.2.91
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: "Ding is not GLib" assorted utility libraries
Group: Development/Libraries
License: LGPLv3+
@@ -16,6 +16,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%global ini_config_version 0.7.0
### Patches ###
+Patch0001: 0001-Include-AM_PROG_AR-in-configure.ac-to-get-rid-of-war.patch
### Dependencies ###
# ding-libs is a meta-package that will pull in all of its own
@@ -312,8 +313,10 @@ structure
%prep
%setup -q
+%patch0001 -p1 -b .confwarn
%build
+autoreconf -ivf
%configure \
--disable-static
@@ -345,6 +348,11 @@ rm -f */doc/html/installdox
rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Mar 25 2013 Jakub Hrozek <jhrozek at redhat.com> - 0.2.91-14
+- include a patch to get rid of autoreconf warnings
+- run autoreconf before configure
+- Resolves: #925258
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.91-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list