[libvirt-snmp][PATCH 2/2] spec: Modernize the spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are two macros ("BuildRoot" and "defattr") that were
required in RHEL-5 world. Things are different now and we do not
need to specify those anymore.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 libvirt-snmp.spec.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in
index b51777c..070a7ef 100644
--- a/libvirt-snmp.spec.in
+++ b/libvirt-snmp.spec.in
@@ -7,7 +7,6 @@ Group:		Development/Libraries
 License:	GPLv2+
 URL:		http://libvirt.org
 Source0:	http://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz
-BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildRequires: net-snmp-perl
 BuildRequires: net-snmp
@@ -23,18 +22,14 @@ Provides a way to control libvirt through SNMP protocol.
 %prep
 %autosetup -S git_am
 
-
 %build
 %configure
 make %{?_smp_mflags}
 
-
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-
 %files
-%defattr(-,root,root,-)
 %{_bindir}/libvirtMib_subagent
 %{_datadir}/snmp/mibs/LIBVIRT-MIB.txt
 %doc README NEWS ChangeLog AUTHORS
-- 
2.16.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux