Don't use makeinstall, Remove ps files from doc. Resolves: #225854

This commit is contained in:
Roman Rakus 2009-01-27 14:47:54 +00:00
parent e879468fec
commit 3b9db4cca2

View File

@ -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 <rrakus@redhat.com> - 3.0.3-6
- Don't use makeinstall
- Remove ps files from doc
Resolves: #225854
* Mon Jan 19 2009 Roman Rakus <rrakus@redhat.com> - 3.0.3-5
- Specfile fixes
Resolves: #225854