projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed code that create a freeside user on the build machine and added code
[freeside.git]
/
rpm
/
freeside.spec
diff --git
a/rpm/freeside.spec
b/rpm/freeside.spec
index
8a07bcc
..
897b2df
100644
(file)
--- a/
rpm/freeside.spec
+++ b/
rpm/freeside.spec
@@
-94,6
+94,7
@@
For security reasons, it is set to conflict with %{name} so you cannot install t
%setup
%{__rm} bin/pod2x # Only useful to Ivan Kohler now
perl -pi -e 's|/usr/local/bin|%{buildroot}%{_bindir}|g' FS/Makefile.PL
%setup
%{__rm} bin/pod2x # Only useful to Ivan Kohler now
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
perl -ni -e 'print if !/\s+chown\s+/;' Makefile
# Override find-requires/find-provides to supplement Perl requires for HTML::Mason file handler.pl
@@
-113,8
+114,6
@@
EOF
%build
%build
-# Add freeside user and group if there isn't already such a user
-%{__id} freeside 2>/dev/null >/dev/null || /usr/sbin/useradd -s /bin/sh freeside
# False laziness...
# The htmlman target now makes wiki documentation. Let's pretend we made it.
touch htmlman
# False laziness...
# The htmlman target now makes wiki documentation. Let's pretend we made it.
touch htmlman