Run autoreconf prior to running configure (#925535)

This commit is contained in:
Jiri Popelka 2013-03-25 18:17:07 +01:00
parent c30051cc42
commit 018729e9e7

View File

@ -3,7 +3,7 @@
Name: gutenprint Name: gutenprint
Summary: Printer Drivers Package Summary: Printer Drivers Package
Version: 5.2.9 Version: 5.2.9
Release: 10%{?dist} Release: 11%{?dist}
Group: System Environment/Base Group: System Environment/Base
URL: http://gimp-print.sourceforge.net/ URL: http://gimp-print.sourceforge.net/
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
@ -35,6 +35,9 @@ Provides: gimp-print-utils = 4.2.7-25
# Make sure we get postscriptdriver tags. # Make sure we get postscriptdriver tags.
BuildRequires: python-cups BuildRequires: python-cups
# autoreconf
BuildRequires: autoconf automake libtool
## NOTE ## ## NOTE ##
# The README file in this package contains suggestions from upstream # The README file in this package contains suggestions from upstream
# on how to package this software. I'd be inclined to follow those # on how to package this software. I'd be inclined to follow those
@ -187,6 +190,12 @@ Epson, HP and compatible printers.
cp %{SOURCE2} src/cups/cups-genppdupdate.in cp %{SOURCE2} src/cups/cups-genppdupdate.in
%build %build
# autoreconf has been added due to bug #925535,
# should be safe to remove once configure is Autoconf > 2.68 generated,
# i.e. with gutenprint > 5.2.9
mkdir m4local
autoreconf --verbose --force --install
%configure --disable-static --disable-dependency-tracking \ %configure --disable-static --disable-dependency-tracking \
--with-foomatic --with-ghostscript \ --with-foomatic --with-ghostscript \
--enable-samples --enable-escputil \ --enable-samples --enable-escputil \
@ -301,6 +310,9 @@ fi
/bin/rm -f /var/cache/foomatic/* /bin/rm -f /var/cache/foomatic/*
%changelog %changelog
* Mon Mar 25 2013 Jiri Popelka <jpopelka@redhat.com> - 5.2.9-11
- Run autoreconf prior to running configure (#925535)
* Tue Feb 19 2013 Jiri Popelka <jpopelka@redhat.com> - 5.2.9-10 * Tue Feb 19 2013 Jiri Popelka <jpopelka@redhat.com> - 5.2.9-10
- Added IEEE 1284 Device ID for Canon PIXMA MP500 (bug #911727). - Added IEEE 1284 Device ID for Canon PIXMA MP500 (bug #911727).