From c195ec9d7387b764b95d8cbcaf8bd44ce8d8ed0f7434ee3d188bbc607ee9a84d Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 28 May 2020 12:34:56 +0000 Subject: [PATCH] Accepting request 809939 from home:kstreitova:branches:science - run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/809939 OBS-URL: https://build.opensuse.org/package/show/science/judy?expand=0&rev=3 --- judy.changes | 5 +++++ judy.spec | 24 +++++++++--------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/judy.changes b/judy.changes index 17c5f46..5b9d7d2 100644 --- a/judy.changes +++ b/judy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 f3f7440..1cf622f 100644 --- a/judy.spec +++ b/judy.spec @@ -1,7 +1,7 @@ # # spec file for package judy # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -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 http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,15 +21,14 @@ Name: judy Version: 1.0.5 Release: 0 Summary: A general purpose dynamic array implemented as a C callable library -License: LGPL-2.1+ +License: LGPL-2.1-or-later 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 @@ -71,9 +70,7 @@ 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. @@ -87,35 +84,32 @@ This package contains documentation about Judy library and examples. %configure \ --disable-static # not parallel safe -make -j1 +%make_build -j1 %check -make %{?_smp_mflags} check +%make_build check %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%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 -%defattr(-,root,root) %{_includedir}/Judy.h %{_libdir}/libJudy.so %{_mandir}/man3/J* %files -n %{libname} -%defattr(-,root,root) %{_libdir}/libJudy.so.1* %files doc -%defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm* +%license COPYING +%doc AUTHORS ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm* %doc examples %changelog