This commit is contained in:
parent
348ca1faa3
commit
0b9fb25a62
@ -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
|
||||
|
||||
|
24
judy.spec
24
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
|
||||
|
Loading…
Reference in New Issue
Block a user