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
|
Summary: A perfect hash function generator
|
||||||
Name: gperf
|
Name: gperf
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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
|
||||||
URL: http://www.gnu.org/software/gperf/
|
URL: http://www.gnu.org/software/gperf/
|
||||||
Prereq: /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
Requires(preun): /sbin/install-info
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Gperf is a perfect hash function generator written in C++. Simply
|
Gperf is a perfect hash function generator written in C++. Simply
|
||||||
@ -20,7 +21,7 @@ using exactly one probe into the data structure.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -39,18 +40,22 @@ exit 0
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
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
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README NEWS doc/gperf.html
|
%doc README NEWS doc/*.{html,ps,pdf} COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/gperf.1*
|
%{_mandir}/man1/gperf.1*
|
||||||
%{_infodir}/gperf.info*
|
%{_infodir}/gperf.info*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.3-4
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user