Specfile fixes. Resolves: #225854
This commit is contained in:
parent
1a813e3eb2
commit
e879468fec
17
gperf.spec
17
gperf.spec
@ -1,13 +1,14 @@
|
||||
Summary: A perfect hash function generator
|
||||
Name: gperf
|
||||
Version: 3.0.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
||||
Group: Development/Tools
|
||||
URL: http://www.gnu.org/software/gperf/
|
||||
Prereq: /sbin/install-info
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
Gperf is a perfect hash function generator written in C++. Simply
|
||||
@ -20,7 +21,7 @@ using exactly one probe into the data structure.
|
||||
|
||||
%build
|
||||
%configure
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -39,18 +40,22 @@ exit 0
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir
|
||||
/sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README NEWS doc/gperf.html
|
||||
%doc README NEWS doc/*.{html,ps,pdf} COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/gperf.1*
|
||||
%{_infodir}/gperf.info*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 19 2009 Roman Rakus <rrakus@redhat.com> - 3.0.3-5
|
||||
- Specfile fixes
|
||||
Resolves: #225854
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.3-4
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user