summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-04-15 09:09:38 +0200
committerRemi Collet <fedora@famillecollet.com>2012-04-15 09:09:38 +0200
commit9277a50ae811bc1ee4b228b441c0e6c0eba3b7f1 (patch)
tree947414e7c621975390ecdf70dbada29c344b39a7
parent58969d832e322f4d4e432ec04595a3e30d9ba54f (diff)
perl-FusionInventory-Agent-Task-NetInventory: minor clean
-rw-r--r--perl-FusionInventory-Agent-Task-NetInventory.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-FusionInventory-Agent-Task-NetInventory.spec b/perl-FusionInventory-Agent-Task-NetInventory.spec
index 6bd9313..b269d68 100644
--- a/perl-FusionInventory-Agent-Task-NetInventory.spec
+++ b/perl-FusionInventory-Agent-Task-NetInventory.spec
@@ -48,14 +48,14 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
%check
@@ -63,7 +63,7 @@ make test
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files