[packages/pnputils] - verbose bin/man files, pass CC, unified kernel.org URL - added pnp.ids note (not to be mistaken wi
qboosh
qboosh at pld-linux.org
Wed Feb 20 18:13:16 CET 2013
commit 1eb55e72a81f10996c60e5675bceed22db3c9d43
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Feb 20 18:13:29 2013 +0100
- verbose bin/man files, pass CC, unified kernel.org URL
- added pnp.ids note (not to be mistaken with hwdata pnp.ids)
pnputils.spec | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/pnputils.spec b/pnputils.spec
index 7307cb1..404b497 100644
--- a/pnputils.spec
+++ b/pnputils.spec
@@ -1,3 +1,6 @@
+# NOTE: pnp.ids in this package differ from that in hwdata
+# (hwdata pnp.ids contain only vendor IDs, this pnp.ids contains only
+# device IDs of (some) PNPACPI, PNPBIOS and ISAPNP devices)
Summary: lspnp - list Plug and Play BIOS device nodes and resources
Summary(pl.UTF-8): lspnp - wypisywanie urządzeń i zasobów BIOS-u Plug and Play
Name: pnputils
@@ -5,7 +8,7 @@ Version: 0.1
Release: 2
License: GPL v2
Group: Applications/System
-Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/helgaas/%{name}-%{version}.tar.gz
+Source0: http://ftp.kernel.org/pub/linux/kernel/people/helgaas/%{name}-%{version}.tar.gz
# Source0-md5: d8edd89786e7d243255dccfc2aca3517
Patch0: %{name}-destdir.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,7 +29,8 @@ To urządzenie prezentuje sformatowaną interpretację zawartości
%build
%{__make} \
- CFLAGS="%{rpmcflags}"
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -Wall"
%install
rm -rf $RPM_BUILD_ROOT
@@ -40,6 +44,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%attr(755,root,root) %{_sbindir}/lspnp
+%attr(755,root,root) %{_sbindir}/setpnp
+%{_mandir}/man8/lspnp.8*
+%{_mandir}/man8/setpnp.8*
%{_datadir}/misc/pnp.ids
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pnputils.git/commitdiff/1eb55e72a81f10996c60e5675bceed22db3c9d43
More information about the pld-cvs-commit
mailing list