|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: ykpers
|
|
|
|
|
Version: 1.20.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Yubikey personalization program
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -22,7 +22,7 @@ that makes this an easy task.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for ykpers
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains the header file needed to develop applications that
|
|
|
|
@ -40,19 +40,20 @@ use ykpers.
|
|
|
|
|
--with-backend=libusb
|
|
|
|
|
%endif
|
|
|
|
|
# --disable-rpath doesn't work for the configure script
|
|
|
|
|
%{__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}
|
|
|
|
|
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_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
|
|
|
|
|
%{__make} check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{__make} install DESTDIR=${RPM_BUILD_ROOT} INSTALL="%{__install} -p"
|
|
|
|
|
%make_install INSTALL="%{__install} -p"
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS COPYING README ChangeLog NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS README ChangeLog NEWS
|
|
|
|
|
%doc doc/Compatibility.asciidoc
|
|
|
|
|
%{_bindir}/ykinfo
|
|
|
|
|
%{_bindir}/ykpersonalize
|
|
|
|
@ -72,6 +73,9 @@ export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
|
|
|
|
|
%exclude %{_libdir}/libykpers-1.la
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 1 2019 Orion Poplawski <orion@nwra.com> - 1.20.0-3
|
|
|
|
|
- Modernize spec
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|