From ae2592166dac395bed6580dfc70f100dec98cdcb2e74a86fc3469f62ae4548eb Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 21 Oct 2016 00:10:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/science/judy?expand=0&rev=2 --- judy.changes | 5 ----- judy.spec | 24 +++++++++++++++--------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/judy.changes b/judy.changes index 5b9d7d2..17c5f46 100644 --- a/judy.changes +++ b/judy.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu May 28 12:17:46 UTC 2020 - Kristyna Streitova - -- run spec-cleaner - ------------------------------------------------------------------- Fri Mar 18 15:10:59 UTC 2016 - bwiedemann@suse.com diff --git a/judy.spec b/judy.spec index 1cf622f..f3f7440 100644 --- a/judy.spec +++ b/judy.spec @@ -1,7 +1,7 @@ # # spec file for package judy # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2016 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 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -21,14 +21,15 @@ 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 +License: LGPL-2.1+ Group: Development/Libraries/C and C++ -URL: http://judy.sourceforge.net/ +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Judy is a C library that provides a state-of-the-art core technology that implements @@ -70,7 +71,9 @@ This package holds the development files for Judy. %package doc Summary: Development files for Judy Group: Documentation/Other +%if 0%{?suse_version} >= 1130 || 0%{?fedora_version} BuildArch: noarch +%endif %description doc This package contains documentation about Judy library and examples. @@ -84,32 +87,35 @@ This package contains documentation about Judy library and examples. %configure \ --disable-static # not parallel safe -%make_build -j1 +make -j1 %check -%make_build check +make %{?_smp_mflags} check %install -%make_install +make DESTDIR=%{buildroot} install %{?_smp_mflags} 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 +%defattr(-,root,root) %{_includedir}/Judy.h %{_libdir}/libJudy.so %{_mandir}/man3/J* %files -n %{libname} +%defattr(-,root,root) %{_libdir}/libJudy.so.1* %files doc -%license COPYING -%doc AUTHORS ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm* +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm* %doc examples %changelog