Commit 4b0bfe9b authored by salaun's avatar salaun
Browse files

[reported by J. Dalbec] RH 7 compatibility changes :

Web hierarchy location, Sympa directory location


git-svn-id: https://subversion.renater.fr/sympa/trunk@793 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 402c62e3
......@@ -355,7 +355,8 @@ build_rh_rpm: clean
SUFFIX=''; export SUFFIX; \
ZIPEXT='gz'; export ZIPEXT; \
APPGROUP='System Environment/Daemons'; export APPGROUP; \
HOMEDIR='/home/sympa'; export HOMEDIR; \
HOMEDIR='/var/sympa'; export HOMEDIR; \
ICONSDIR='/var/www/icons'; export ICONSDIR; \
VERSION=$(SYMPA_VERSION); export VERSION; \
$(PERL) ../../../subst.pl sympa.spec \
)
......@@ -377,6 +378,7 @@ build_mdk_rpm: clean
ZIPEXT='bz2'; export ZIPEXT; \
APPGROUP='System/Servers'; export APPGROUP; \
HOMEDIR='/var/lib/sympa'; export HOMEDIR; \
ICONSDIR=$(ICONSDIR); export ICONSDIR; \
VERSION=$(SYMPA_VERSION); export VERSION; \
$(PERL) ../../../subst.pl sympa.spec \
)
......
......@@ -57,7 +57,7 @@ make DIR=%{home_s} sources languages
%install
rm -rf $RPM_BUILD_ROOT
make INITDIR=/etc/rc.d/init.d HOST=MYHOST DIR=%{home_s} DESTDIR=$RPM_BUILD_ROOT MANDIR=%{man_dir} install
make INITDIR=/etc/rc.d/init.d HOST=MYHOST DIR=%{home_s} DESTDIR=$RPM_BUILD_ROOT MANDIR=%{man_dir} ICONSDIR=--ICONSDIR-- install
## Setting Runlevels
for I in 0 1 2 6; do
......@@ -167,8 +167,8 @@ fi
%{home_s}/bin/etc/*
%{home_s}/expl/*
%attr(0755,root,root)%dir /home/httpd/icons
%attr(0644,root,root) /home/httpd/icons/*
%attr(0755,root,root)%dir --ICONSDIR--
%attr(0644,root,root)--ICONSDIR--/*
%defattr(-,sympa,sympa)
%{home_s}/bin/*.pm
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment