From: rsiddall Date: Fri, 8 Feb 2008 21:57:41 +0000 (+0000) Subject: Removes "-o freeside" from install lines in Makefile so that you don't need X-Git-Tag: freeside_1_7_3rc1~118 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=581e815a2ae4690a954b8de34a088fdb00dae6bb;p=freeside.git Removes "-o freeside" from install lines in Makefile so that you don't need a freeside user on the build machine. RPM handles setting the file owner. This should allow the RPMs to build under mock. --- diff --git a/install/rpm/freeside.spec b/install/rpm/freeside.spec index 85f790a0e..9c02c4000 100644 --- a/install/rpm/freeside.spec +++ b/install/rpm/freeside.spec @@ -95,6 +95,7 @@ For security reasons, it is set to conflict with %{name} so you cannot install t %{__rm} bin/pod2x # Only useful to Ivan Kohler now %{__cp} install/rpm/freeside-install FS/bin perl -pi -e 's|/usr/local/bin|%{buildroot}%{_bindir}|g' FS/Makefile.PL +perl -pi -e 's|\s+-o\s+freeside\s+| |g' Makefile perl -ni -e 'print if !/\s+chown\s+/;' Makefile # Override find-requires/find-provides to supplement Perl requires for HTML::Mason file handler.pl