- 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.
Name: gperf
Version: 3.0.2
Release: 2
Release: 3%{?dist}
License: GPL
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
Group: Development/Tools
@ -35,11 +35,13 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir
exit 0
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir
fi
exit 0
%files
%defattr(-,root,root)
@ -49,6 +51,9 @@ fi
%{_infodir}/gperf.info*
%changelog
* Mon Jan 22 2007 Florian La Roche <laroche@redhat.com>
- rhbz#223695
* Sat Nov 04 2006 Florian La Roche <laroche@redhat.com>
- 3.0.2 (#213852)