[olpc-powerd/f17] specfile: add the usblist executable

Paul Fox pgf at fedoraproject.org
Mon Apr 30 17:01:47 UTC 2012


commit 1b3d76dcfbd07879139d589b8181956e97523ffd
Author: Paul Fox <pgf at laptop.org>
Date:   Mon Apr 30 12:11:38 2012 -0400

    specfile: add the usblist executable

 olpc-powerd.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/olpc-powerd.spec b/olpc-powerd.spec
index 2a59579..081a097 100644
--- a/olpc-powerd.spec
+++ b/olpc-powerd.spec
@@ -14,8 +14,8 @@ Source0: %{name}-%{version}-git%{tag}.tar.gz
 Source1: powerd.service
 Source2: olpc-switchd.service
 
-BuildRequires: kernel-headers, NetworkManager-glib-devel
-Requires: olpc-kbdshim, ethtool, systemd-units, evtest, inotify-tools
+BuildRequires: kernel-headers, NetworkManager-glib-devel, libusb-devel
+Requires: olpc-kbdshim, ethtool, systemd-units, evtest, inotify-tools, libusb
 
 ExclusiveArch: %{ix86} %{arm}
 
@@ -55,6 +55,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/powerd/flags
 install -p -m 755 olpc-switchd %{buildroot}%{_sbindir}/olpc-switchd
 install -p -m 755 powerd %{buildroot}%{_sbindir}/powerd
 install -p -m 755 pnmto565fb %{buildroot}%{_libexecdir}/powerd/pnmto565fb
+install -p -m 755 usblist %{buildroot}%{_libexecdir}/powerd/usblist
 install -p -m 755 powerd-config %{buildroot}%{_bindir}/powerd-config
 install -p -m 755 olpc-nosleep %{buildroot}%{_bindir}/olpc-nosleep
 install -p -m 644 pleaseconfirm.pgm %{buildroot}%{_sysconfdir}/powerd/pleaseconfirm.pgm
@@ -78,6 +79,7 @@ install -p -m 644 %{SOURCE2} %{buildroot}/lib/systemd/system/olpc-switchd.servic
 %{_sbindir}/olpc-switchd
 %{_sbindir}/powerd
 %{_libexecdir}/powerd/pnmto565fb
+%{_libexecdir}/powerd/usblist
 %{_bindir}/powerd-config
 %{_bindir}/olpc-nosleep
 %{_libexecdir}/powerd/power-logger


More information about the scm-commits mailing list