diff options
-rw-r--r-- | perl-FusionInventory-Agent-Task-NetInventory.spec | 12 |
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 |