From 3b9db4cca2fd5edb00eb0440ccf927bd0585772a Mon Sep 17 00:00:00 2001 From: Roman Rakus Date: Tue, 27 Jan 2009 14:47:54 +0000 Subject: [PATCH] Don't use makeinstall, Remove ps files from doc. Resolves: #225854 --- gperf.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gperf.spec b/gperf.spec index 6d133b9..ea2bfdd 100644 --- a/gperf.spec +++ b/gperf.spec @@ -1,7 +1,7 @@ Summary: A perfect hash function generator Name: gperf Version: 3.0.3 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz Group: Development/Tools @@ -27,7 +27,8 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT #mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info} -%makeinstall +make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p' + # remove the stuff from the buildroot rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc} @@ -46,12 +47,17 @@ exit 0 %files %defattr(-,root,root) -%doc README NEWS doc/*.{html,ps,pdf} COPYING +%doc README NEWS doc/*.{html,pdf} COPYING %{_bindir}/%{name} %{_mandir}/man1/gperf.1* %{_infodir}/gperf.info* %changelog +* Tue Jan 27 2009 Roman Rakus - 3.0.3-6 +- Don't use makeinstall +- Remove ps files from doc + Resolves: #225854 + * Mon Jan 19 2009 Roman Rakus - 3.0.3-5 - Specfile fixes Resolves: #225854