commit libyubikey for openSUSE:Factory
Hello community, here is the log from the commit of package libyubikey for openSUSE:Factory checked in at 2017-06-30 18:42:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyubikey (Old) and /work/SRC/openSUSE:Factory/.libyubikey.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libyubikey" Fri Jun 30 18:42:40 2017 rev:3 rq:507072 version:1.13 Changes: -------- --- /work/SRC/openSUSE:Factory/libyubikey/libyubikey.changes 2015-04-15 16:27:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libyubikey.new/libyubikey.changes 2017-06-30 18:43:40.970984756 +0200 @@ -1,0 +2,7 @@ +Mon Jun 26 11:49:15 UTC 2017 - mpluskal@suse.com + +- Add gpg signature +- Make building more verbose +- Enable internal testsuite + +------------------------------------------------------------------- New: ---- libyubikey-1.13.tar.gz.sig libyubikey.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyubikey.spec ++++++ --- /var/tmp/diff_new_pack.6ozmq5/_old 2017-06-30 18:43:41.458916125 +0200 +++ /var/tmp/diff_new_pack.6ozmq5/_new 2017-06-30 18:43:41.462915563 +0200 @@ -1,7 +1,7 @@ # # spec file for package libyubikey # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,6 +16,7 @@ # +%define sover 0 Name: libyubikey Version: 1.13 Release: 0 @@ -25,53 +26,62 @@ Url: https://developers.yubico.com/ # a different tarball is available from github. It will not build with this spec file Source0: https://developers.yubico.com/yubico-c/Releases/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source1: https://developers.yubico.com/yubico-c/Releases/%{name}-%{version}.tar.gz.sig +Source2: %{name}.keyring %description -Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C. +Low-level library for decrypting and parsing Yubikey One-Time Passwords +(OTP) in C. -%package -n libyubikey0 +%package -n %{name}%{sover} 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. +%description -n %{name}%{sover} +Low-level library for decrypting and parsing Yubikey One-Time Passwords +(OTP) in C. %package devel Summary: Yubico's USB key low-level C library Group: Development/Libraries/C and C++ +Requires: %{name}%{sover} = %{version} Requires: glibc-devel -Requires: libyubikey0 = %{version} %description devel -Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C. +Low-level library for decrypting and parsing Yubikey One-Time Passwords +(OTP) in C. %package tools Summary: Tools to support Yubico's USB key low-level C library 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. +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 +%configure \ + --disable-silent-rules \ + --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 make %{?_smp_mflags} %install - -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print -%post -n libyubikey0 -p /sbin/ldconfig +%check +# path needs to be exported otherwise unit tests will fail +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} +make %{?_smp_mflags} check -%postun -n libyubikey0 -p /sbin/ldconfig +%post -n %{name}%{sover} -p /sbin/ldconfig +%postun -n %{name}%{sover} -p /sbin/ldconfig %files tools %defattr(-,root,root,-) @@ -79,12 +89,14 @@ %{_bindir}/modhex %{_bindir}/ykgenerate %{_bindir}/ykparse -%{_mandir}/man1/* +%{_mandir}/man1/modhex.1%{ext_man} +%{_mandir}/man1/ykgenerate.1%{ext_man} +%{_mandir}/man1/ykparse.1%{ext_man} -%files -n libyubikey0 +%files -n %{name}%{sover} %defattr(-,root,root,-) %doc COPYING AUTHORS NEWS -%{_libdir}/libyubikey.so.* +%{_libdir}/libyubikey.so.%{sover}* %files devel %defattr(-,root,root,-)
participants (1)
-
root@hilbert.suse.de