From 3ecd6b0df18864e8540781bd6f644e81ad9c8459 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 5 Nov 2012 14:52:15 -0800 Subject: [PATCH] add packaging --- packaging/pciutils.spec | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/packaging/pciutils.spec b/packaging/pciutils.spec index 5af59c7..4c51b30 100644 --- a/packaging/pciutils.spec +++ b/packaging/pciutils.spec @@ -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 -- 2.34.1