SHA256
1
0
forked from pool/man

Accepting request 122740 from home:puzel:branches:Base:System

- fix build with automake-1.12
  - add: automake-1.12.patch

OBS-URL: https://build.opensuse.org/request/show/122740
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=26
This commit is contained in:
Dr. Werner Fink 2012-05-29 13:44:30 +00:00 committed by Git OBS Bridge
parent 01f4a0224b
commit fc9a55f33e
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 Sun Dec 25 22:22:18 UTC 2011 - coolo@suse.com

View File

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