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(a)redhat.com>
---
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