[packages/siege] fix for new autoconf/automake
glen
glen at pld-linux.org
Mon Mar 4 16:51:59 CET 2013
commit 4da413ac23925f72d10fe74848751a21157b3f7e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Mar 4 17:51:56 2013 +0200
fix for new autoconf/automake
autofoo.patch | 21 +++++++++++++++++++++
siege.spec | 4 +++-
2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/siege.spec b/siege.spec
index abb6617..ed33053 100644
--- a/siege.spec
+++ b/siege.spec
@@ -2,7 +2,7 @@ Summary: An HTTP regression testing/benchmarking utility
Summary(pl.UTF-8): Narzędzie do testowania serwerów HTTP
Name: siege
Version: 2.75
-Release: 1
+Release: 2
License: GPL v2
Group: Networking/Utilities
Source0: http://www.joedog.org/pub/siege/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@ Source0: http://www.joedog.org/pub/siege/%{name}-%{version}.tar.gz
Patch0: %{name}-DESTDIR.patch
Patch1: %{name}-am_fixes.patch
Patch2: %{name}-config.patch
+Patch3: autofoo.patch
URL: http://www.joedog.org/index/siege-home
BuildRequires: autoconf
BuildRequires: automake
@@ -42,6 +43,7 @@ użytkownika.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
rm -f missing
diff --git a/autofoo.patch b/autofoo.patch
new file mode 100644
index 0000000..955e3f4
--- /dev/null
+++ b/autofoo.patch
@@ -0,0 +1,21 @@
+fix:
+configure.in:9: error: 'AM_CONFIG_HEADER': this macro is obsolete.
+ You should use the 'AC_CONFIG_HEADERS' macro instead.
+/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
+configure.in:9: the top level
+autom4te: /usr/bin/m4 failed with exit status: 1
+
+upstream should also rename configure.in to configure.ac:
+
+aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+--- siege-2.75/configure.in~ 2012-04-17 17:43:03.000000000 +0300
++++ siege-2.75/configure.in 2013-03-04 17:49:26.656390759 +0200
+@@ -6,7 +6,7 @@
+ dnl
+ AC_INIT
+ AC_CONFIG_SRCDIR([src/setup.h])
+-AM_CONFIG_HEADER(include/config.h)
++AC_CONFIG_HEADERS(include/config.h)
+
+ dnl
+ dnl Define the utils directory
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/siege.git/commitdiff/4da413ac23925f72d10fe74848751a21157b3f7e
More information about the pld-cvs-commit
mailing list