summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsiddall <rsiddall>2008-02-08 21:57:41 +0000
committerrsiddall <rsiddall>2008-02-08 21:57:41 +0000
commit581e815a2ae4690a954b8de34a088fdb00dae6bb (patch)
tree656caa6f757117b6eb236aa979973c72e355c252
parent58a4bc740c0f746378080d5a261abb1439211418 (diff)
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.
-rw-r--r--install/rpm/freeside.spec1
1 files changed, 1 insertions, 0 deletions
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