add packaging
authorAnas Nashif <anas.nashif@intel.com>
Mon, 5 Nov 2012 22:52:15 +0000 (14:52 -0800)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 21 Jan 2014 08:52:22 +0000 (09:52 +0100)
packaging/pciutils.spec

index 5af59c7..4c51b30 100644 (file)
@@ -1,21 +1,3 @@
-#
-# spec file for package pciutils
-#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
 Name:           pciutils
 %define lname  libpci
 Version:        3.1.9
@@ -33,7 +15,6 @@ Patch2:         pciutils-ocloexec.patch
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
 Requires:       pciutils-ids
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 lspci: This program displays detailed information about all PCI busses
@@ -85,10 +66,11 @@ ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
 
 %postun -n %lname -p /sbin/ldconfig
 
+%docs_package
+
 %files
 %defattr(-, root, root)
-%doc README COPYING
-%doc %{_mandir}/man?/*
+%doc COPYING
 /sbin/*
 
 %files -n %lname