Sync from SUSE:ALP:Source:Standard:1.0 gperf revision 6451c83aac70976ff2b29038b7ab9ecd
This commit is contained in:
commit
07f9da9587
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
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.
164
gperf.changes
Normal file
164
gperf.changes
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 24 19:22:01 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- stop linking dynamic content per full url, this breaks
|
||||||
|
asset validation
|
||||||
|
- remove info scripts, this is done via filetriggers for ages
|
||||||
|
- remove obsolete rm in %%install - these files are no longer installed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 24 11:46:21 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Small package cleanup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 6 09:15:05 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
- testsuite-race.patch: fix race condition in testsuite
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Add gpg signature
|
||||||
|
- Correct info requirements
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 7 20:08:17 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove ancient specfile tags, and provide homepage URL.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 26 13:43:48 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
- update to gperf-3.0.4
|
||||||
|
* gperf is now licensed under the GPL version 3 or newer.
|
||||||
|
* The generated C code gives less warnings with gcc-4.2.x
|
||||||
|
in c99 or gnu99 mode.
|
||||||
|
* The generated C code is compatible with gcc-4.3.x in c99 or
|
||||||
|
gnu99 mode.
|
||||||
|
- clean up specfile using macros
|
||||||
|
- make check in correct specfile section
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 14 22:20:31 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- enable parallel building
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 17 15:38:58 CEST 2006 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 3.0.2
|
||||||
|
- documentation fixes
|
||||||
|
- Fix #line directives for filenames containing backslashes
|
||||||
|
- add option --length-table-name
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:36:18 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 22 01:38:19 CEST 2005 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix missing declaration.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 20 01:59:56 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- don't build as root
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 11:14:19 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 3.0.1 (documentation and testsuite fixes)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 19 12:14:25 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- remove unpackaged file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 15 12:18:40 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 3.0 with many additional options
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 00:39:16 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- fix file list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- fix install_info --delete call and move from preun to postun
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 17:16:16 CET 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- added install-info macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 12:53:58 CET 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- buildrooted
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- removed bogus self-provides
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 27 12:30:52 CET 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- bzipped source
|
||||||
|
- added docu files to filelist (#13968)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 13 13:38:37 CEST 2001 - schwab@suse.de
|
||||||
|
|
||||||
|
- Don't link statically any more.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 30 00:41:31 CEST 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 2.7.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 25 15:25:15 CEST 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- sorted
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 20 18:30:14 CET 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- specfile cleanup, man,info -> usr/share
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 15 00:40:36 MET 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- link statically: needed when rebuilding libstdc++
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 15 00:05:54 MET 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- created initial package using jurix dif
|
||||||
|
|
BIN
gperf.keyring
Normal file
BIN
gperf.keyring
Normal file
Binary file not shown.
59
gperf.spec
Normal file
59
gperf.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
#
|
||||||
|
# spec file for package gperf
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: gperf
|
||||||
|
Version: 3.1
|
||||||
|
Release: 0
|
||||||
|
Summary: A Compiler Tool for Generating Perfect Hash Functions
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
URL: https://gnu.org/software/gperf/
|
||||||
|
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
|
||||||
|
# From https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
|
||||||
|
Source2: %{name}.keyring
|
||||||
|
Patch0: testsuite-race.patch
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
|
%description
|
||||||
|
A perfect hash function is simply: a hash function and a data structure
|
||||||
|
that allows recognition of a key word in a set of words using exactly
|
||||||
|
one probe into the data structure.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--htmldir=%{_defaultdocdir}/%{name}
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README NEWS AUTHORS ChangeLog doc/*.html
|
||||||
|
%{_bindir}/gperf
|
||||||
|
%{_infodir}/gperf.info%{?ext_info}
|
||||||
|
%{_mandir}/man1/gperf.1%{?ext_man}
|
||||||
|
|
||||||
|
%changelog
|
32
testsuite-race.patch
Normal file
32
testsuite-race.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Fix race condition in testsuite
|
||||||
|
|
||||||
|
Move the Ada test from check-test to check-ada, where the aout binary is
|
||||||
|
being built.
|
||||||
|
|
||||||
|
* tests/Makefile.in (check-test): Don't run aout test.
|
||||||
|
(check-ada): Run it here.
|
||||||
|
|
||||||
|
Index: gperf-3.1/tests/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- gperf-3.1.orig/tests/Makefile.in
|
||||||
|
+++ gperf-3.1/tests/Makefile.in
|
||||||
|
@@ -86,6 +86,9 @@ check-ada: test.$(OBJEXT)
|
||||||
|
@echo "testing Ada predefined words, all items should be found in the set"
|
||||||
|
./preout -v < $(srcdir)/adadefs.gperf | LC_ALL=C tr -d '\r' > ada-pred.out
|
||||||
|
diff $(srcdir)/ada-pred.exp ada-pred.out
|
||||||
|
+ @echo "only if, do, for, case, goto, else, while, and return should be found "
|
||||||
|
+ ./aout -v < $(srcdir)/c.gperf | $(POSTPROCESS_FOR_MINGW) > test-7.out
|
||||||
|
+ diff $(srcdir)/test-7.exp test-7.out
|
||||||
|
|
||||||
|
check-modula3: test.$(OBJEXT)
|
||||||
|
$(GPERF) -k1,2,'$$' -I -o $(srcdir)/modula3.gperf > m3inset.c
|
||||||
|
@@ -170,9 +173,6 @@ check-test:
|
||||||
|
# prints out the help message
|
||||||
|
-$(GPERF) -h | $(POSTPROCESS_FOR_MINGW) > test-6.out
|
||||||
|
diff $(srcdir)/test-6.exp test-6.out
|
||||||
|
- @echo "only if, do, for, case, goto, else, while, and return should be found "
|
||||||
|
- ./aout -v < $(srcdir)/c.gperf | $(POSTPROCESS_FOR_MINGW) > test-7.out
|
||||||
|
- diff $(srcdir)/test-7.exp test-7.out
|
||||||
|
|
||||||
|
# The following validates valid language syntax with different parameters.
|
||||||
|
# Works only with gcc and g++, and only on platforms where "gcc -ansi" is
|
Loading…
Reference in New Issue
Block a user