SHA256
1
0
forked from pool/npth

- Remove old specfile constructs and doubleshipping of docs.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/npth?expand=0&rev=27
This commit is contained in:
Jan Engelhardt 2020-09-04 12:36:20 +00:00 committed by Git OBS Bridge
parent bb95a43771
commit 22e3846285
2 changed files with 14 additions and 15 deletions

View File

@ -1,8 +1,13 @@
-------------------------------------------------------------------
Fri Sep 4 12:28:41 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile constructs and doubleshipping of docs.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 16 09:36:52 UTC 2018 - kbabioch@suse.com Mon Jul 16 09:36:52 UTC 2018 - kbabioch@suse.com
- Update to 1.6: - Update to 1.6:
* Fix library requirements for HPUX. * Fix library requirements for HPUX.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 22 15:10:42 UTC 2018 - fvogt@suse.com Thu Feb 22 15:10:42 UTC 2018 - fvogt@suse.com
@ -40,7 +45,7 @@ Thu Dec 1 16:22:27 UTC 2016 - astieger@suse.com
Sat Apr 11 19:12:44 UTC 2015 - astieger@suse.com Sat Apr 11 19:12:44 UTC 2015 - astieger@suse.com
- npth 1.2: - npth 1.2:
* Fix possible clobbering of ERRNO. * Fix possible clobbering of ERRNO.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 2 21:10:41 UTC 2014 - andreas.stieger@gmx.de Sun Nov 2 21:10:41 UTC 2014 - andreas.stieger@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package npth # spec file for package npth
# #
# Copyright (c) 2018 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/
# #
@ -23,15 +23,14 @@ Release: 0
Summary: GNU Portable Threads library Summary: GNU Portable Threads library
License: LGPL-2.0-or-later License: LGPL-2.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://gnupg.org/ URL: http://gnupg.org/
#DL-URL: ftp://ftp.gnupg.org/gcrypt/npth/
#Git-Clone: git://git.gnupg.org/npth #Git-Clone: git://git.gnupg.org/npth
#DL-URL: ftp://ftp.gnupg.org/gcrypt/npth/
Source: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2 Source: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2
Source2: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2.sig Source2: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2.sig
# https://www.gnupg.org/signature_key.html # https://www.gnupg.org/signature_key.html
Source4: %name.keyring Source4: %name.keyring
Source99: %name.changes Source99: %name.changes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
nPth is a non-preemptive threads implementation using an API nPth is a non-preemptive threads implementation using an API
@ -61,33 +60,28 @@ similar to the one in GNU Pth.
This subpackage contains the headers for npth. This subpackage contains the headers for npth.
%prep %prep
%setup -q %autosetup -p1
%build %build
date=$(date -u "+%%Y-%%m-%%dT%%H:%%M+0000" -r %SOURCE99) date=$(date -u "+%%Y-%%m-%%dT%%H:%%M+0000" -r %SOURCE99)
%configure \ %configure \
--enable-build-timestamp="$date" --enable-build-timestamp="$date"
make %{?_smp_mflags} %make_build
%install %install
b="%buildroot"
%make_install %make_install
find "%buildroot" -type f -name "*.la" -delete -print find "%buildroot" -type f -name "*.la" -delete -print
%check %check
make %{?_smp_mflags} check %make_build check
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%defattr(-,root,root)
%license COPYING.LIB
%doc AUTHORS NEWS ChangeLog README
%_libdir/libnpth.so.0* %_libdir/libnpth.so.0*
%files devel %files devel
%defattr(-,root,root)
%license COPYING.LIB %license COPYING.LIB
%doc AUTHORS NEWS ChangeLog README %doc AUTHORS NEWS ChangeLog README
%_bindir/npth-config %_bindir/npth-config