SHA256
1
0
forked from pool/gperf

Accepting request 448887 from home:pluskalm:branches:devel:tools

- 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

OBS-URL: https://build.opensuse.org/request/show/448887
OBS-URL: https://build.opensuse.org/package/show/devel:tools/gperf?expand=0&rev=11
This commit is contained in:
Martin Pluskal 2017-01-05 15:14:10 +00:00 committed by Git OBS Bridge
parent ac1f2c0fab
commit 13f4e10ae4
7 changed files with 26 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:767112a204407e62dbc3106647cf839ed544f3cf5d0f0523aaa2508623aad63e
size 983500

Binary file not shown.

BIN
gperf-3.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gperf-3.1.tar.gz.sig Normal file

Binary file not shown.

View File

@ -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

Binary file not shown.

View File

@ -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