Switch to systemd BuildRequires as systemd-devel doesn't provide udev.pc

- Fixes permissions issue #1272637
epel9
Kevin Fenzi 9 years ago
parent 8244e6ee48
commit 1b5cf3de81

@ -1,6 +1,6 @@
Name: ykpers Name: ykpers
Version: 1.17.2 Version: 1.17.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Yubikey personalization program Summary: Yubikey personalization program
Group: Applications/System Group: Applications/System
@ -14,7 +14,7 @@ BuildRequires: libusb1-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
%endif %endif
BuildRequires: libyubikey-devel BuildRequires: libyubikey-devel
BuildRequires: systemd-devel BuildRequires: systemd
%description %description
Yubico's YubiKey can be re-programmed with a new AES key. This is a library Yubico's YubiKey can be re-programmed with a new AES key. This is a library
@ -71,11 +71,7 @@ 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 %{_udevrulesdir}/69-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,-)
@ -86,6 +82,10 @@ export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
%exclude %{_libdir}/libykpers-1.la %exclude %{_libdir}/libykpers-1.la
%changelog %changelog
* Sun Oct 18 2015 Kevin Fenzi <kevin@scrye.com> 1.17.2-3
- Switch to systemd BuildRequires as systemd-devel doesn't provide udev.pc
- Fixes permissions issue #1272637
* Wed Sep 23 2015 Kevin Fenzi <kevin@scrye.com> 1.17.2-2 * Wed Sep 23 2015 Kevin Fenzi <kevin@scrye.com> 1.17.2-2
- Properly conditionalize udev rules file. - Properly conditionalize udev rules file.

Loading…
Cancel
Save