diff --git a/ykclient.spec b/ykclient.spec index 45e32fe..cb04dbe 100644 --- a/ykclient.spec +++ b/ykclient.spec @@ -1,6 +1,6 @@ Name: ykclient Version: 2.15 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Yubikey management library and client License: BSD @@ -16,7 +16,7 @@ commandline for yubikeys %package devel Summary: Development headers and libraries for ykclient -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel development files for ykclient needed to build applications to @@ -27,28 +27,30 @@ take advantage of yubikey authentication. %build %configure --enable-static=no -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%make_install rm $RPM_BUILD_ROOT%{_libdir}/libykclient.la chrpath -d $RPM_BUILD_ROOT%{_bindir}/ykclient %ldconfig_scriptlets %files -%doc COPYING AUTHORS NEWS README +%license COPYING +%doc AUTHORS NEWS README %{_bindir}/ykclient %{_libdir}/libykclient.so.3* %{_mandir}/man1/ykclient.1.gz %files devel -%doc README COPYING NEWS AUTHORS %{_includedir}/*.h %{_libdir}/libykclient.so %changelog +* Thu Aug 1 2019 Orion Poplawski - 2.15-9 +- Modernize spec + * Sat Jul 27 2019 Fedora Release Engineering - 2.15-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild