summaryrefslogtreecommitdiffstats
path: root/scripts/autotools/automake-rtems.spec.in
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-09-23 06:22:14 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-09-23 06:22:14 +0000
commitd81e17f364653c539596cbe69bf954955c500ce9 (patch)
treec13c8e6625fac49f30ce46bc4729d393c8ac2c7d /scripts/autotools/automake-rtems.spec.in
parent2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-d81e17f364653c539596cbe69bf954955c500ce9.tar.bz2
2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* autotools/autoconf-rtems.spec.in: Cleanup for chroot'ed builds. * autotools/automake-rtems.spec.in: automake-1.9.2.
Diffstat (limited to '')
-rw-r--r--scripts/autotools/automake-rtems.spec.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/autotools/automake-rtems.spec.in b/scripts/autotools/automake-rtems.spec.in
index c2213dc68b..88d7eaa24b 100644
--- a/scripts/autotools/automake-rtems.spec.in
+++ b/scripts/autotools/automake-rtems.spec.in
@@ -2,8 +2,8 @@
# spec file for automake
#
-%define rpmvers 1.9
-%define srcvers 1.9
+%define rpmvers 1.9.2
+%define srcvers 1.9.2
%define amvers 1.9
%define _defaultbuildroot %{_tmppath}/%{name}-%{srcvers}-root
@@ -25,9 +25,9 @@ Name: %{name}
Packager: Ralf Corsepius <ralf_corsepius@rtems.org>
URL: http://sources.redhat.com/automake
-Copyright: GPL
+License: GPL
Group: @rpmgroup@
-Autoreqprov: on
+
Version: %{rpmvers}
Release: 1
Summary: Tool for automatically generating GNU style Makefile.in's
@@ -35,7 +35,8 @@ BuildArch: noarch
BuildRoot: %{_defaultbuildroot}
BuildPreReq: %{requirements} perl help2man
Requires: %{requirements}
-PreReq: /sbin/install-info
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
Source: ftp://ftp.gnu.org/gnu/automake/automake-%{srcvers}.tar.bz2
Patch0: automake-1.8.1-rtems-20040112-1.diff
@@ -58,6 +59,7 @@ PATH=%{_prefix}/bin:$PATH
make
%install
+rm -rf "$RPM_BUILD_ROOT"
make DESTDIR=${RPM_BUILD_ROOT} install
install -m 755 -d $RPM_BUILD_ROOT/%{_mandir}/man1
@@ -73,7 +75,6 @@ gzip -9qf $RPM_BUILD_ROOT%{_infodir}/*.info* 2>/dev/null
gzip -9qf $RPM_BUILD_ROOT%{_mandir}/man?/* 2>/dev/null
%clean
-[ x"$RPM_BUILD_ROOT" = x"%{_defaultbuildroot}" ] ; \
rm -rf "$RPM_BUILD_ROOT"
%post