New upstream version 3.1.
Remove some obsolete cruft from the spec file.
This commit is contained in:
parent
6871fe8f6c
commit
1bf30cfb34
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
gperf-3.0.4.tar.gz
|
gperf-3.0.4.tar.gz
|
||||||
|
/gperf-3.1.tar.gz
|
||||||
|
15
gperf.spec
15
gperf.spec
@ -1,14 +1,12 @@
|
|||||||
Summary: A perfect hash function generator
|
Summary: A perfect hash function generator
|
||||||
Name: gperf
|
Name: gperf
|
||||||
Version: 3.0.4
|
Version: 3.1
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
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
|
|
||||||
URL: http://www.gnu.org/software/gperf/
|
URL: http://www.gnu.org/software/gperf/
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
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
|
||||||
@ -24,7 +22,6 @@ using exactly one probe into the data structure.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
#mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
|
#mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
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
|
# remove the stuff from the buildroot
|
||||||
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
|
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
|
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
|
||||||
exit 0
|
exit 0
|
||||||
@ -46,13 +40,16 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README NEWS doc/*.{html,pdf} COPYING
|
%doc README NEWS doc/*.{html,pdf} COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/gperf.1*
|
%{_mandir}/man1/gperf.1*
|
||||||
%{_infodir}/gperf.info*
|
%{_infodir}/gperf.info*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user