Explorar el Código

Building RPMs on Amazon Linux - Add 'install-root' on line 165 of spec file

Fix for issue #229
John C. Frickson hace 8 años
padre
commit
412065376a
Se han modificado 3 ficheros con 3 adiciones y 1 borrados
  1. 1 0
      NEWS
  2. 1 0
      THANKS.in
  3. 1 1
      nagios-plugins.spec.in

+ 1 - 0
NEWS

@@ -21,6 +21,7 @@ x.x.x xxxx-xx-xx
 	check_dns: DNS CRITICAL - expected ‘{hostname}.’ but got 'name = {hostname}.'
 	check_mailq: Nullmailer Regex is not working for Ubuntu 16.04
 	check_swap: Downstream Fedora patch: Prevent check_swap from returning OK, if no swap activated
+	Building RPMs on Amazon Linux - Add 'install-root' on line 165 of spec file
 
 
 2.2.0 2017-01-19

+ 1 - 0
THANKS.in

@@ -68,6 +68,7 @@ Damian Myerscough
 Daniel Austin
 Daniel Bimschas
 Daniel Leib
+Daniel Scott
 Daniël van Eeden
 Dann Frazier
 Darian Rackham

+ 1 - 1
nagios-plugins.spec.in

@@ -162,7 +162,7 @@ fi
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install
+make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install install-root
 %find_lang %{name}
 echo "%defattr(755,%{npusr},%{npgrp})" >> %{name}.lang
 comm -13 %{npdir}/ls-plugins-before %{npdir}/ls-plugins-after | egrep -v "\.o$|^\." | gawk -v libexecdir=%{_libexecdir} '{printf( "%s/%s\n", libexecdir, $0);}' >> %{name}.lang