Don't use makeinstall, Remove ps files from doc. Resolves: #225854
This commit is contained in:
parent
e879468fec
commit
3b9db4cca2
12
gperf.spec
12
gperf.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A perfect hash function generator
|
Summary: A perfect hash function generator
|
||||||
Name: gperf
|
Name: gperf
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -27,7 +27,8 @@ make %{?_smp_mflags}
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
#mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
|
#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
|
# remove the stuff from the buildroot
|
||||||
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
|
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
|
||||||
|
|
||||||
@ -46,12 +47,17 @@ exit 0
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README NEWS doc/*.{html,ps,pdf} COPYING
|
%doc README NEWS doc/*.{html,pdf} COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/gperf.1*
|
%{_mandir}/man1/gperf.1*
|
||||||
%{_infodir}/gperf.info*
|
%{_infodir}/gperf.info*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 19 2009 Roman Rakus <rrakus@redhat.com> - 3.0.3-5
|
||||||
- Specfile fixes
|
- Specfile fixes
|
||||||
Resolves: #225854
|
Resolves: #225854
|
||||||
|
Loading…
Reference in New Issue
Block a user