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:
parent
ac1f2c0fab
commit
13f4e10ae4
@ -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
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
BIN
gperf-3.1.tar.gz.sig
Normal file
Binary file not shown.
@ -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
|
Thu Apr 2 15:38:25 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
BIN
gperf.keyring
BIN
gperf.keyring
Binary file not shown.
21
gperf.spec
21
gperf.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gperf
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,19 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gperf
|
Name: gperf
|
||||||
Version: 3.0.4
|
Version: 3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Compiler Tool for Generating Perfect Hash Functions
|
Summary: A Compiler Tool for Generating Perfect Hash Functions
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Url: https://gnu.org/software/gperf/
|
Url: https://gnu.org/software/gperf/
|
||||||
Source0: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
||||||
Source1: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz.sig
|
Source1: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz.sig
|
||||||
Source2: %{name}.keyring
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(preun): %{install_info_prereq}
|
Requires(preun): %{install_info_prereq}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A perfect hash function is simply: a hash function and a data structure
|
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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -53,16 +52,16 @@ rm -f %{buildroot}%{_prefix}/doc/gperf/gperf.html
|
|||||||
rm -f %{buildroot}%{_datadir}/doc/gperf/gperf.html
|
rm -f %{buildroot}%{_datadir}/doc/gperf/gperf.html
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%doc README NEWS AUTHORS COPYING ChangeLog doc/*.html
|
%doc README NEWS AUTHORS COPYING ChangeLog doc/*.html
|
||||||
%{_bindir}/gperf
|
%{_bindir}/gperf
|
||||||
%doc %{_infodir}/gperf.info.gz
|
%{_infodir}/gperf.info%{ext_info}
|
||||||
%doc %{_mandir}/man1/gperf.1.gz
|
%{_mandir}/man1/gperf.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user