Accepting request 122763 from Base:System

- fix build with automake-1.12
  - add: automake-1.12.patch (forwarded request 122740 from puzel)

OBS-URL: https://build.opensuse.org/request/show/122763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=46
This commit is contained in:
Stephan Kulow 2012-05-31 15:06:58 +00:00 committed by Git OBS Bridge
commit 2242694441
3 changed files with 27 additions and 2 deletions

13
automake-1.12.patch Normal file
View File

@ -0,0 +1,13 @@
Index: man-db-2.5.2/configure.ac
===================================================================
--- man-db-2.5.2.orig/configure.ac
+++ man-db-2.5.2/configure.ac
@@ -20,6 +20,8 @@ dnl
AC_PROG_CC
AC_PROG_CPP
AC_GNU_SOURCE
+AM_PROG_AR
+AM_PROG_CC_C_O
dnl
dnl check for system defaults
dnl

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 29 12:39:10 UTC 2012 - puzel@suse.com
- fix build with automake-1.12
- add: automake-1.12.patch
-------------------------------------------------------------------
Sun Dec 25 22:22:18 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package man
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: man
BuildRequires: automake
BuildRequires: flex
@ -34,7 +35,9 @@ Group: System/Base
Url: https://savannah.nongnu.org/projects/man-db
PreReq: coreutils fillup
Provides: man_db
Requires: groff >= 1.18 less glibc-locale
Requires: glibc-locale
Requires: groff >= 1.18
Requires: less
Source: man-db-%{version}.tar.bz2
Source1: sysconfig.cron-man
Source2: cron.daily.do_mandb
@ -53,6 +56,7 @@ Patch10: man-db-2.5.1-listall.dif
Patch11: man-db-%{version}-catp.dif
Patch12: man-db-2.5.2-fastpipe.dif
Patch13: man-db-2.5.2-fhs.dif
Patch14: automake-1.12.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
@ -83,6 +87,7 @@ Authors:
%patch12 -p0 -b .fp
%patch13 -p0 -b .fhs
%patch0 -p0
%patch14 -p1
%build
gettextize --force --copy --no-changelog
@ -115,6 +120,7 @@ Authors:
%if %suse_version > 1030
aclocal -I ${PWD}/m4 -I ${PWD}/gnulib/m4
autoconf -B ${PWD}/m4 -B ${PWD}/gnulib/m4
automake --add-missing
%else
sed -ri 's/(m4_PACKAGE_VERSION,[[:blank:]]*\[)2.61(\])/\12.60\2/' aclocal.m4
sed -ri 's/(AM_INIT_AUTOMAKE\(\[)1.10/\11.9.6/' configure.ac