From 8244e6ee48316540f20826e8de63a136cc720ffc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 23 Sep 2015 07:59:17 -0600 Subject: [PATCH] Properly conditionalize udev rules file. --- ykpers.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ykpers.spec b/ykpers.spec index ee0fd56..477d804 100644 --- a/ykpers.spec +++ b/ykpers.spec @@ -1,6 +1,6 @@ Name: ykpers Version: 1.17.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Yubikey personalization program Group: Applications/System @@ -71,7 +71,11 @@ export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs %{_mandir}/man1/ykpersonalize.1.gz %{_mandir}/man1/ykchalresp.1.gz %{_mandir}/man1/ykinfo.1.gz +%if 0%{?fedora} > 21 || 0%{?rhel} > 7 /usr/lib/udev/rules.d/70-yubikey.rules +%else +/usr/lib/udev/rules.d/69-yubikey.rules +%endif %files devel %defattr(-,root,root,-) @@ -82,6 +86,9 @@ export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs %exclude %{_libdir}/libykpers-1.la %changelog +* Wed Sep 23 2015 Kevin Fenzi 1.17.2-2 +- Properly conditionalize udev rules file. + * Wed Sep 23 2015 Kevin Fenzi 1.17.2-1 - Update to 1.17.2. Fixes bug #1265449