Apache conf update
This commit is contained in:
parent
79751e9a98
commit
6f5eb2f01b
|
@ -73,7 +73,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
|
||||
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
|
||||
cp lam-packaging/RPM/lam.apache.conf %{httpd_confdir}/
|
||||
cp lam.apache.conf %{httpd_confdir}/
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
|
|
@ -119,24 +119,28 @@ mkdir LAMPro/RPM
|
|||
|
||||
# Fedora RPM
|
||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES
|
||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
|
||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||
|
||||
# Fedora RPM for LAM Pro
|
||||
cd LAMPro
|
||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.gz
|
||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
|
||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||
cd ..
|
||||
|
||||
# Suse RPM
|
||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES
|
||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
|
||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||
|
||||
# Suse RPM for LAM Pro
|
||||
cd LAMPro
|
||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.gz
|
||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
|
||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||
cd ..
|
||||
|
|
Loading…
Reference in New Issue