- add dist tag

- never fail with scripts
This commit is contained in:
Florian La Roche 2007-01-22 13:04:38 +00:00
parent 6dcd0f24d6
commit 2648cc112f

View File

@ -1,7 +1,7 @@
Summary: A perfect hash function generator. Summary: A perfect hash function generator.
Name: gperf Name: gperf
Version: 3.0.2 Version: 3.0.2
Release: 2 Release: 3%{?dist}
License: GPL License: GPL
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
@ -35,11 +35,13 @@ rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir /sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir
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
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -49,6 +51,9 @@ fi
%{_infodir}/gperf.info* %{_infodir}/gperf.info*
%changelog %changelog
* Mon Jan 22 2007 Florian La Roche <laroche@redhat.com>
- rhbz#223695
* Sat Nov 04 2006 Florian La Roche <laroche@redhat.com> * Sat Nov 04 2006 Florian La Roche <laroche@redhat.com>
- 3.0.2 (#213852) - 3.0.2 (#213852)