SHA256
1
0
forked from pool/judy

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
This commit is contained in:
Egbert Eich 2020-05-28 12:34:56 +00:00 committed by Git OBS Bridge
parent ae2592166d
commit c195ec9d73
2 changed files with 14 additions and 15 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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 Fri Mar 18 15:10:59 UTC 2016 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package judy # 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 # 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Version: 1.0.5
Release: 0 Release: 0
Summary: A general purpose dynamic array implemented as a C callable library 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++ 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 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 # PATCH-FIX-OPENSUSE Judy-test-shared.patch -- use shared library for testing
Patch0: Judy-test-shared.patch Patch0: Judy-test-shared.patch
Patch1: reproducible.patch Patch1: reproducible.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Judy is a C library that provides a state-of-the-art core technology that implements 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 %package doc
Summary: Development files for Judy Summary: Development files for Judy
Group: Documentation/Other Group: Documentation/Other
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version}
BuildArch: noarch BuildArch: noarch
%endif
%description doc %description doc
This package contains documentation about Judy library and examples. This package contains documentation about Judy library and examples.
@ -87,35 +84,32 @@ This package contains documentation about Judy library and examples.
%configure \ %configure \
--disable-static --disable-static
# not parallel safe # not parallel safe
make -j1 %make_build -j1
%check %check
make %{?_smp_mflags} check %make_build check
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%fdupes -s %{buildroot}/%{_mandir} %fdupes -s %{buildroot}/%{_mandir}
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/Judy.h %{_includedir}/Judy.h
%{_libdir}/libJudy.so %{_libdir}/libJudy.so
%{_mandir}/man3/J* %{_mandir}/man3/J*
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libJudy.so.1* %{_libdir}/libJudy.so.1*
%files doc %files doc
%defattr(-,root,root) %license COPYING
%doc AUTHORS COPYING ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm* %doc AUTHORS ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm*
%doc examples %doc examples
%changelog %changelog