Properly conditionalize udev rules file.

epel9
Kevin Fenzi 10 years ago
parent 6afc372e80
commit 8244e6ee48

@ -1,6 +1,6 @@
Name: ykpers Name: ykpers
Version: 1.17.2 Version: 1.17.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Yubikey personalization program Summary: Yubikey personalization program
Group: Applications/System Group: Applications/System
@ -71,7 +71,11 @@ export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
%{_mandir}/man1/ykpersonalize.1.gz %{_mandir}/man1/ykpersonalize.1.gz
%{_mandir}/man1/ykchalresp.1.gz %{_mandir}/man1/ykchalresp.1.gz
%{_mandir}/man1/ykinfo.1.gz %{_mandir}/man1/ykinfo.1.gz
%if 0%{?fedora} > 21 || 0%{?rhel} > 7
/usr/lib/udev/rules.d/70-yubikey.rules /usr/lib/udev/rules.d/70-yubikey.rules
%else
/usr/lib/udev/rules.d/69-yubikey.rules
%endif
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -82,6 +86,9 @@ export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
%exclude %{_libdir}/libykpers-1.la %exclude %{_libdir}/libykpers-1.la
%changelog %changelog
* Wed Sep 23 2015 Kevin Fenzi <kevin@scrye.com> 1.17.2-2
- Properly conditionalize udev rules file.
* Wed Sep 23 2015 Kevin Fenzi <kevin@scrye.com> 1.17.2-1 * Wed Sep 23 2015 Kevin Fenzi <kevin@scrye.com> 1.17.2-1
- Update to 1.17.2. Fixes bug #1265449 - Update to 1.17.2. Fixes bug #1265449

Loading…
Cancel
Save