New upstream version 3.1.

Remove some obsolete cruft from the spec file.
This commit is contained in:
Richard W.M. Jones 2017-01-26 20:58:22 +00:00
parent 6871fe8f6c
commit 1bf30cfb34
3 changed files with 8 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
gperf-3.0.4.tar.gz
/gperf-3.1.tar.gz

View File

@ -1,14 +1,12 @@
Summary: A perfect hash function generator
Name: gperf
Version: 3.0.4
Release: 12%{?dist}
Version: 3.1
Release: 1%{?dist}
License: GPLv3+
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
Group: Development/Tools
URL: http://www.gnu.org/software/gperf/
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
@ -24,7 +22,6 @@ using exactly one probe into the data structure.
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
#mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
@ -32,9 +29,6 @@ make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
# remove the stuff from the buildroot
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
exit 0
@ -46,13 +40,16 @@ fi
exit 0
%files
%defattr(-,root,root)
%doc README NEWS doc/*.{html,pdf} COPYING
%{_bindir}/%{name}
%{_mandir}/man1/gperf.1*
%{_infodir}/gperf.info*
%changelog
* Thu Jan 26 2017 Richard W.M. Jones <rjones@redhat.com> - 3.1-1
- New upstream version 3.1.
- Remove some obsolete cruft from the spec file.
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
c1f1db32fb6598d6a93e6e88796a8632 gperf-3.0.4.tar.gz
SHA512 (gperf-3.1.tar.gz) = 855ebce5ff36753238a44f14c95be7afdc3990b085960345ca2caf1a2db884f7db74d406ce9eec2f4a52abb8a063d4ed000a36b317c9a353ef4e25e2cca9a3f4