Apache conf update
This commit is contained in:
parent
7250d1681d
commit
72079431cd
|
@ -59,7 +59,7 @@ Home-Verzeichnisse verwalten kann.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
pwd
|
pwd
|
||||||
cp $RPM_SOURCE_DIR/lam.apache.conf $RPM_BUILD_ROOT/
|
cp $RPM_SOURCE_DIR/lam.apache.conf $RPM_BUILD_DIR/
|
||||||
%setup -n ldap-account-manager-%{version}
|
%setup -n ldap-account-manager-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -75,7 +75,7 @@ mv $RPM_BUILD_ROOT/usr/share/%{lam_dir}/tmp $RPM_BUILD_ROOT/var/lib/%{lam_dir}
|
||||||
ln -s $RPM_BUILD_ROOT/var/lib/%{lam_dir}/tmp $RPM_BUILD_ROOT/usr/share/%{lam_dir}/tmp
|
ln -s $RPM_BUILD_ROOT/var/lib/%{lam_dir}/tmp $RPM_BUILD_ROOT/usr/share/%{lam_dir}/tmp
|
||||||
mv $RPM_BUILD_ROOT/usr/share/%{lam_dir}/sess $RPM_BUILD_ROOT/var/lib/%{lam_dir}
|
mv $RPM_BUILD_ROOT/usr/share/%{lam_dir}/sess $RPM_BUILD_ROOT/var/lib/%{lam_dir}
|
||||||
ln -s $RPM_BUILD_ROOT/var/lib/%{lam_dir}/sess $RPM_BUILD_ROOT/usr/share/%{lam_dir}/sess
|
ln -s $RPM_BUILD_ROOT/var/lib/%{lam_dir}/sess $RPM_BUILD_ROOT/usr/share/%{lam_dir}/sess
|
||||||
cp ../lam.apache.conf %{httpd_confdir}/
|
cp $RPM_BUILD_DIR/lam.apache.conf $RPM_BUILD_ROOT%{httpd_confdir}/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
Loading…
Reference in New Issue