Accepting request 443071 from devel:libraries:c_c++
forward rq - update to 1.3: OBS-URL: https://build.opensuse.org/request/show/443071 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/npth?expand=0&rev=11
This commit is contained in:
commit
16d0d793ec
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ddbdddb2cf49a4723f9d1ad6563c480d6760dcb63cb7726b8fc3bc2e1b6c08a
|
||||
size 298735
|
Binary file not shown.
3
npth-1.3.tar.bz2
Normal file
3
npth-1.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bca81940436aed0734eb8d0ff8b179e04cc8c087f5625204419f5f45d736a82a
|
||||
size 295998
|
BIN
npth-1.3.tar.bz2.sig
Normal file
BIN
npth-1.3.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 16:22:27 UTC 2016 - astieger@suse.com
|
||||
|
||||
- update to 1.3:
|
||||
* Bypass npth_protect/npth_unprotect iff the library has not yet
|
||||
been initialized.
|
||||
* Improve detection of clock_gettime
|
||||
- use reproducible build timestamp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 11 19:12:44 UTC 2015 - astieger@suse.com
|
||||
|
||||
|
22
npth.spec
22
npth.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package npth
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
Name: npth
|
||||
%define lname libnpth0
|
||||
Version: 1.2
|
||||
Name: npth
|
||||
Version: 1.3
|
||||
Release: 0
|
||||
Summary: New GNU Portable Threads library
|
||||
License: LGPL-3.0+ or GPL-2.0+
|
||||
@ -30,6 +30,7 @@ Url: http://gnupg.org/
|
||||
Source: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2
|
||||
Source2: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2.sig
|
||||
Source4: %name.keyring
|
||||
Source99: %name.changes
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -63,16 +64,17 @@ allows the use of libraries which are not compatible to GNU Pth.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags};
|
||||
date=$(date -u +%%Y-%%m-%%dT%%H:%%M+0000 -r %SOURCE99)
|
||||
%configure \
|
||||
--enable-build-timestamp="$date"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b";
|
||||
rm -f "$b/%_libdir"/*.la;
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
b="%buildroot"
|
||||
make install DESTDIR="$b"
|
||||
find %buildroot -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
|
Loading…
x
Reference in New Issue
Block a user