This commit is contained in:
parent
1f09c4c62f
commit
1623c2d4f3
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 22 22:38:47 CEST 2007 - olh@suse.de
|
||||||
|
|
||||||
|
- silence some lint warnings
|
||||||
|
run ldconfig in subversion-perl/python post install
|
||||||
|
remove development related files from subversion-tools
|
||||||
|
do not rerference RPM_SOURCE_DIR
|
||||||
|
no static linking anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 3 18:33:23 CEST 2007 - prusnak@suse.cz
|
Thu May 3 18:33:23 CEST 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
# X-UnitedLinux-Should-Stop: $time ypbind sendmail
|
# X-UnitedLinux-Should-Stop: $time ypbind sendmail
|
||||||
# Default-Start: 3 5
|
# Default-Start: 3 5
|
||||||
# Default-Stop: 0 1 2 6
|
# Default-Stop: 0 1 2 6
|
||||||
|
# Short-Description: svnserve
|
||||||
# Description: readonly access to a subversion repository
|
# Description: readonly access to a subversion repository
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
Name: subversion
|
Name: subversion
|
||||||
BuildRequires: apache2-devel db-devel gcc-c++ java2-devel-packages neon-devel openldap2-devel python-devel swig
|
BuildRequires: apache2-devel db-devel gcc-c++ java2-devel-packages neon-devel openldap2-devel python-devel swig
|
||||||
Version: 1.4.3
|
Version: 1.4.3
|
||||||
Release: 17
|
Release: 26
|
||||||
#
|
#
|
||||||
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
|
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
|
||||||
#
|
#
|
||||||
@ -288,20 +288,27 @@ cp -aL contrib/client-side/svn_load_dirs.README $RPM_BUILD_ROOT/usr/share/subver
|
|||||||
cp -aL contrib/client-side/svn_load_dirs_property_table.example $RPM_BUILD_ROOT/usr/share/subversion/tools/svn_load_dirs/
|
cp -aL contrib/client-side/svn_load_dirs_property_table.example $RPM_BUILD_ROOT/usr/share/subversion/tools/svn_load_dirs/
|
||||||
sed 's:@SVN_BINDIR@:/usr:' contrib/client-side/svn_load_dirs.pl.in > $RPM_BUILD_ROOT/usr/share/subversion/tools/svn_load_dirs/svn_load_dirs.pl
|
sed 's:@SVN_BINDIR@:/usr:' contrib/client-side/svn_load_dirs.pl.in > $RPM_BUILD_ROOT/usr/share/subversion/tools/svn_load_dirs/svn_load_dirs.pl
|
||||||
chmod 755 $RPM_BUILD_ROOT/usr/share/subversion/tools/svn_load_dirs/svn_load_dirs.pl
|
chmod 755 $RPM_BUILD_ROOT/usr/share/subversion/tools/svn_load_dirs/svn_load_dirs.pl
|
||||||
find $RPM_BUILD_ROOT \( -name .svn -o -name CVS -o -name tests \) -type d | xargs rm -rfv
|
find $RPM_BUILD_ROOT \( -name .svn -o -name CVS -o -name tests \) -type d -print0 | xargs -0 rm -rfv
|
||||||
|
find $RPM_BUILD_ROOT \( -name "*.a" -o -name "*.c" \) -type f -print0 | xargs -0 rm -rfv
|
||||||
|
rm -rf $RPM_BUILD_ROOT/usr/share/subversion/tools/diff
|
||||||
|
rm -rf $RPM_BUILD_ROOT/usr/share/subversion/tools/po
|
||||||
|
rm -rf $RPM_BUILD_ROOT/usr/share/subversion/tools/test-scripts
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
cp -aL %_sourcedir/subversion.rcsvnserve $RPM_BUILD_ROOT/etc/init.d/svnserve
|
cp -aL %{S:9} $RPM_BUILD_ROOT/etc/init.d/svnserve
|
||||||
ln -sv /etc/init.d/svnserve $RPM_BUILD_ROOT/usr/sbin/rcsvnserve
|
ln -sv /etc/init.d/svnserve $RPM_BUILD_ROOT/usr/sbin/rcsvnserve
|
||||||
cp -aL %_sourcedir/subversion.sysconfig.svnserve $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.svnserve
|
cp -aL %{S:10} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.svnserve
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir}
|
mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir}
|
||||||
install -m 644 %{S:12} $RPM_BUILD_ROOT/%{_fwdefdir}/svnserve
|
install -m 644 %{S:12} $RPM_BUILD_ROOT/%{_fwdefdir}/svnserve
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_and_insserv -n svnserve svnserve}
|
%{fillup_and_insserv -n svnserve svnserve}
|
||||||
%{run_ldconfig}
|
%{run_ldconfig}
|
||||||
@ -309,6 +316,14 @@ install -m 644 %{S:12} $RPM_BUILD_ROOT/%{_fwdefdir}/svnserve
|
|||||||
%postun
|
%postun
|
||||||
%{insserv_cleanup}
|
%{insserv_cleanup}
|
||||||
|
|
||||||
|
%post -n subversion-python -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n subversion-python -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n subversion-perl -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n subversion-perl -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f files.subversion
|
%files -f files.subversion
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.SuSE BUGS CHANGES COPYING subversion/LICENSE README.mod_authz_svn
|
%doc README.SuSE BUGS CHANGES COPYING subversion/LICENSE README.mod_authz_svn
|
||||||
@ -360,7 +375,6 @@ install -m 644 %{S:12} $RPM_BUILD_ROOT/%{_fwdefdir}/svnserve
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/include/subversion-1
|
%dir /usr/include/subversion-1
|
||||||
%{_libdir}/libsvn_*.so
|
%{_libdir}/libsvn_*.so
|
||||||
%{_libdir}/libsvn*.a
|
|
||||||
%{_libdir}/libsvn*.la
|
%{_libdir}/libsvn*.la
|
||||||
/usr/include/subversion-1/*
|
/usr/include/subversion-1/*
|
||||||
|
|
||||||
@ -379,6 +393,12 @@ install -m 644 %{S:12} $RPM_BUILD_ROOT/%{_fwdefdir}/svnserve
|
|||||||
%{apache_libexecdir}/mod_authz_svn.*
|
%{apache_libexecdir}/mod_authz_svn.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 22 2007 - olh@suse.de
|
||||||
|
- silence some lint warnings
|
||||||
|
run ldconfig in subversion-perl/python post install
|
||||||
|
remove development related files from subversion-tools
|
||||||
|
do not rerference RPM_SOURCE_DIR
|
||||||
|
no static linking anymore
|
||||||
* Thu May 03 2007 - prusnak@suse.cz
|
* Thu May 03 2007 - prusnak@suse.cz
|
||||||
- changed expat to libexpat-devel in Requires of devel subpackage
|
- changed expat to libexpat-devel in Requires of devel subpackage
|
||||||
* Sat Apr 28 2007 - olh@suse.de
|
* Sat Apr 28 2007 - olh@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user