SHA256
1
0
forked from pool/libyubikey

Accepting request 296742 from home:jengelh:branches:security

- Cleanup: --with-pic is useless because no static libs are built.
  Remove stray leading newline in description.

OBS-URL: https://build.opensuse.org/request/show/296742
OBS-URL: https://build.opensuse.org/package/show/security/libyubikey?expand=0&rev=11
This commit is contained in:
Marcus Meissner 2015-04-15 09:11:01 +00:00 committed by Git OBS Bridge
parent 0cd677f784
commit 33cbe11f8b
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 15 07:20:20 UTC 2015 - jengelh@inai.de
- Cleanup: --with-pic is useless because no static libs are built.
Remove stray leading newline in description.
-------------------------------------------------------------------
Wed Apr 1 08:05:25 UTC 2015 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libyubikey
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -28,7 +28,6 @@ Source0: https://developers.yubico.com/yubico-c/Releases/%{name}-%{versio
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C.
%package -n libyubikey0
@ -36,7 +35,6 @@ Summary: Yubico's USB key low-level C library
Group: Productivity/Networking/Security
%description -n libyubikey0
Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C.
%package devel
@ -46,7 +44,6 @@ Requires: glibc-devel
Requires: libyubikey0 = %{version}
%description devel
Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C.
%package tools
@ -55,14 +52,13 @@ Group: Development/Libraries/C and C++
Requires: libyubikey0 = %{version}
%description tools
Binary tools to support Yubico's Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C.
%prep
%setup -q
%build
%configure --disable-static --with-pic
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool