diff --git a/gperf-3.0.4.tar.gz b/gperf-3.0.4.tar.gz deleted file mode 100644 index 571f3ab..0000000 --- a/gperf-3.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:767112a204407e62dbc3106647cf839ed544f3cf5d0f0523aaa2508623aad63e -size 983500 diff --git a/gperf-3.0.4.tar.gz.sig b/gperf-3.0.4.tar.gz.sig deleted file mode 100644 index 7eb27c3..0000000 Binary files a/gperf-3.0.4.tar.gz.sig and /dev/null differ diff --git a/gperf-3.1.tar.gz b/gperf-3.1.tar.gz new file mode 100644 index 0000000..2a19d7f --- /dev/null +++ b/gperf-3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2 +size 1215925 diff --git a/gperf-3.1.tar.gz.sig b/gperf-3.1.tar.gz.sig new file mode 100644 index 0000000..0a56b27 Binary files /dev/null and b/gperf-3.1.tar.gz.sig differ diff --git a/gperf.changes b/gperf.changes index ae7bbb5..76bfa84 100644 --- a/gperf.changes +++ b/gperf.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 5 15:07:45 UTC 2017 - mpluskal@suse.com + +- Update to version 3.1: + * The generated C code is now in ANSI-C by default. + * The 'len' parameter of the hash function and of the lookup + function is now of type 'size_t' instead of 'unsigned int'. + * Added option --constants-prefix. + * Added declaration %define constants-prefix. +- Some packaging changes: + * https urls for downloads + * keyring is now fetched from savannah + ------------------------------------------------------------------- Thu Apr 2 15:38:25 UTC 2015 - mpluskal@suse.com diff --git a/gperf.keyring b/gperf.keyring index 3caeebd..1ee141b 100644 Binary files a/gperf.keyring and b/gperf.keyring differ diff --git a/gperf.spec b/gperf.spec index 3c7bd89..1255363 100644 --- a/gperf.spec +++ b/gperf.spec @@ -1,7 +1,7 @@ # # spec file for package gperf # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,18 @@ Name: gperf -Version: 3.0.4 +Version: 3.1 Release: 0 Summary: A Compiler Tool for Generating Perfect Hash Functions License: GPL-3.0+ Group: Development/Languages/C and C++ Url: https://gnu.org/software/gperf/ -Source0: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz -Source1: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz.sig -Source2: %{name}.keyring +Source0: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz +Source1: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz.sig +Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring BuildRequires: gcc-c++ Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A perfect hash function is simply: a hash function and a data structure @@ -45,7 +44,7 @@ one probe into the data structure. make %{?_smp_mflags} %check -make check +make %{?_smp_mflags} check %install %make_install @@ -53,16 +52,16 @@ rm -f %{buildroot}%{_prefix}/doc/gperf/gperf.html rm -f %{buildroot}%{_datadir}/doc/gperf/gperf.html %post -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %preun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %files %defattr (-,root,root) %doc README NEWS AUTHORS COPYING ChangeLog doc/*.html %{_bindir}/gperf -%doc %{_infodir}/gperf.info.gz -%doc %{_mandir}/man1/gperf.1.gz +%{_infodir}/gperf.info%{ext_info} +%{_mandir}/man1/gperf.1%{ext_man} %changelog