Sync from SUSE:SLFO:Main judy revision 35959347bec67e06ae1048e788429a3d
This commit is contained in:
commit
c58a93d7ba
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
Judy-1.0.5.tar.gz
(Stored with Git LFS)
Normal file
BIN
Judy-1.0.5.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
13
Judy-test-shared.patch
Normal file
13
Judy-test-shared.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- judy-1.0.5.orig/test/Checkit 2007-05-14 21:02:16.000000000 +0400
|
||||
+++ judy-1.0.5/test/Checkit 2012-09-29 23:32:30.728249410 +0400
|
||||
@@ -4,8 +4,9 @@
|
||||
echo
|
||||
echo "=== +++++++++ This test runs in 15 seconds on a PIII 750Mhz +++++++"
|
||||
|
||||
-LIBJUDY=`find ../ -name libJudy.a`
|
||||
+LIBJUDY=`find ../ -name libJudy.so`
|
||||
JUDY_H=`find ../ -name Judy.h`
|
||||
+export LD_LIBRARY_PATH=`dirname $LIBJUDY`
|
||||
|
||||
echo "$CC -O SLcompare.c -DHASHMETHOD -o SL_Hash"
|
||||
$CC -O SLcompare.c -DHASHMETHOD -o SL_Hash
|
39
judy.changes
Normal file
39
judy.changes
Normal file
@ -0,0 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 28 12:17:46 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
|
||||
|
||||
- run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 15:10:59 UTC 2016 - bwiedemann@suse.com
|
||||
|
||||
- Add reproducible.patch to fix build-compare
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 11:14:26 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Use url for source
|
||||
- Cleanup spec file with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 1 17:52:20 UTC 2012 - dmitry@roshchin.org
|
||||
|
||||
- Fix docs installation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 29 21:20:56 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Remove redundant tags/sections/macros from specfile
|
||||
- Turn doc subpackage into noarch
|
||||
- Use crossdistro-friendly install routine
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 29 19:40:04 UTC 2012 - dmitry@roshchin.org
|
||||
|
||||
- spec file cleanup
|
||||
- Use shared library for testing
|
||||
* judy-test-shared.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 6 23:44:20 UTC 2011 - lars@linux-schulserver.de
|
||||
|
||||
- initial version 1.0.5
|
115
judy.spec
Normal file
115
judy.spec
Normal file
@ -0,0 +1,115 @@
|
||||
#
|
||||
# spec file for package judy
|
||||
#
|
||||
# Copyright (c) 2020 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/
|
||||
#
|
||||
|
||||
|
||||
%define libname libJudy1
|
||||
Name: judy
|
||||
Version: 1.0.5
|
||||
Release: 0
|
||||
Summary: A general purpose dynamic array implemented as a C callable library
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://judy.sourceforge.net/
|
||||
Source0: http://sourceforge.net/projects/judy/files/judy/Judy-%{version}/Judy-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE Judy-test-shared.patch -- use shared library for testing
|
||||
Patch0: Judy-test-shared.patch
|
||||
Patch1: reproducible.patch
|
||||
BuildRequires: fdupes
|
||||
|
||||
%description
|
||||
Judy is a C library that provides a state-of-the-art core technology that implements
|
||||
a sparse dynamic array. Judy arrays are declared simply with a null pointer. A Judy
|
||||
array consumes memory only when it is populated, yet can grow to take advantage
|
||||
of all available memory if desired.
|
||||
|
||||
Judy's key benefits are scalability, high performance, and memory efficiency. A Judy
|
||||
array is extensible and can scale up to a very large number of elements, bounded
|
||||
only by machine memory. Since Judy is designed as an unbounded array, the size of
|
||||
a Judy array is not pre-allocated but grows and shrinks dynamically
|
||||
with the array population.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Dynamic libraries for Judy
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n %{libname}
|
||||
Judy is a C library that provides a state-of-the-art core technology that implements
|
||||
a sparse dynamic array. Judy arrays are declared simply with a null pointer. A Judy
|
||||
array consumes memory only when it is populated, yet can grow to take advantage
|
||||
of all available memory if desired.
|
||||
|
||||
Judy's key benefits are scalability, high performance, and memory efficiency. A Judy
|
||||
array is extensible and can scale up to a very large number of elements, bounded
|
||||
only by machine memory. Since Judy is designed as an unbounded array, the size of
|
||||
a Judy array is not pre-allocated but grows and shrinks dynamically
|
||||
with the array population.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for Judy
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libname} = %{version}
|
||||
Recommends: %{name}-doc
|
||||
|
||||
%description devel
|
||||
This package holds the development files for Judy.
|
||||
|
||||
%package doc
|
||||
Summary: Development files for Judy
|
||||
Group: Documentation/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
This package contains documentation about Judy library and examples.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static
|
||||
# not parallel safe
|
||||
%make_build -j1
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%fdupes -s %{buildroot}/%{_mandir}
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%{_includedir}/Judy.h
|
||||
%{_libdir}/libJudy.so
|
||||
%{_mandir}/man3/J*
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/libJudy.so.1*
|
||||
|
||||
%files doc
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm*
|
||||
%doc examples
|
||||
|
||||
%changelog
|
15
reproducible.patch
Normal file
15
reproducible.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Index: judy-1.0.5/tool/jhton.c
|
||||
===================================================================
|
||||
--- judy-1.0.5.orig/tool/jhton.c
|
||||
+++ judy-1.0.5/tool/jhton.c
|
||||
@@ -693,8 +693,8 @@ FUNCTION void EmitNroffHeader(
|
||||
// Emit file header; note, ctime() output already contains a newline:
|
||||
|
||||
(void) time(&currtime);
|
||||
- (void) printf(".\\\" Auto-translated to nroff -man from %s by %s at %s",
|
||||
- Filename, gc_myname, ctime(&currtime));
|
||||
+ (void) printf(".\\\" Auto-translated to nroff -man from %s by %s",
|
||||
+ Filename, gc_myname);
|
||||
|
||||
(void) printf(".\\\" %s\n", filerev);
|
||||
(void) printf(".TA %c\n", lcletter);
|
Loading…
Reference in New Issue
Block a user