- rebuild against python 2.5
- follow python packaging guidelines
This commit is contained in:
parent
ff35b56121
commit
f1985a504c
@ -10,10 +10,12 @@
|
|||||||
|
|
||||||
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
|
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
|
||||||
|
|
||||||
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Summary: Modern Version Control System designed to replace CVS
|
Summary: Modern Version Control System designed to replace CVS
|
||||||
Name: subversion
|
Name: subversion
|
||||||
Version: 1.4.2
|
Version: 1.4.2
|
||||||
Release: 3
|
Release: 4
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://subversion.tigris.org/
|
URL: http://subversion.tigris.org/
|
||||||
@ -34,8 +36,7 @@ BuildRoot: %{_tmppath}/%{name}-root
|
|||||||
%define __perl_requires %{SOURCE3}
|
%define __perl_requires %{SOURCE3}
|
||||||
|
|
||||||
# Put Python bindings in site-packages
|
# Put Python bindings in site-packages
|
||||||
%define pydir %(python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
|
%define swigdirs swig_pydir=%{pyton_sitearch}/libsvn swig_pydir_extra=%{python_sitearch}/svn
|
||||||
%define swigdirs swig_pydir=%{pydir}/libsvn swig_pydir_extra=%{pydir}/svn
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Subversion is a concurrent version control system which enables one
|
Subversion is a concurrent version control system which enables one
|
||||||
@ -149,7 +150,7 @@ install -m 644 $RPM_SOURCE_DIR/subversion.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/h
|
|||||||
|
|
||||||
# Remove unpackaged files
|
# Remove unpackaged files
|
||||||
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
|
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
|
||||||
${RPM_BUILD_ROOT}%{pydir}/*/*.{a,la}
|
${RPM_BUILD_ROOT}%{python_sitearch}/*/*.{a,la}
|
||||||
|
|
||||||
# remove stuff produced with Perl modules
|
# remove stuff produced with Perl modules
|
||||||
find $RPM_BUILD_ROOT -type f \
|
find $RPM_BUILD_ROOT -type f \
|
||||||
@ -206,8 +207,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/libsvn_*.so.*
|
%{_libdir}/libsvn_*.so.*
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
%{pydir}/svn
|
%{python_sitearch}/svn
|
||||||
%{pydir}/libsvn
|
%{python_sitearch}/libsvn
|
||||||
%{_datadir}/emacs/site-lisp
|
%{_datadir}/emacs/site-lisp
|
||||||
%{_datadir}/xemacs/site-packages/lisp
|
%{_datadir}/xemacs/site-packages/lisp
|
||||||
%dir %{_sysconfdir}/subversion
|
%dir %{_sysconfdir}/subversion
|
||||||
@ -251,6 +252,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.4.2-4
|
||||||
|
- rebuild against python 2.5
|
||||||
|
- follow python packaging guidelines
|
||||||
|
|
||||||
* Wed Nov 8 2006 Joe Orton <jorton@redhat.com> 1.4.2-3
|
* Wed Nov 8 2006 Joe Orton <jorton@redhat.com> 1.4.2-3
|
||||||
- update to 1.4.2
|
- update to 1.4.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user