commit python-dulwich for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-dulwich for openSUSE:Factory checked in at 2016-01-20 09:54:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dulwich (Old) and /work/SRC/openSUSE:Factory/.python-dulwich.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-dulwich" Changes: -------- --- /work/SRC/openSUSE:Factory/python-dulwich/python-dulwich.changes 2016-01-01 19:47:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-dulwich.new/python-dulwich.changes 2016-01-20 09:54:23.000000000 +0100 @@ -1,0 +2,23 @@ +Thu Jan 14 10:19:50 UTC 2016 - toddrme2178@gmail.com + +- Update to 0.12.0 + + IMPROVEMENTS + * Add a `dulwich.archive` module that can create tarballs. + Based on code from Jonas Haag in klaus. + * Add a `dulwich.reflog` module for reading and writing reflogs. + (Jelmer Vernooij) + * Fix handling of ambiguous refs in `parse_ref` to make + it match the behaviour described in https://git-scm.com/docs/gitrevisions. + (Chris Bunney) + * Support Python3 in C modules. (Lele Gaifax) + + BUG FIXES + * Simplify handling of SSH command invocation. + Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384) + * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383) + * Add hack to support thin packs duing fetch(), albeit while requiring the + entire pack file to be loaded into memory. (jsbain) + + CHANGES + * This will be the last release to support Python 2.6. +- Implement update-alternatives + +------------------------------------------------------------------- Old: ---- dulwich-0.11.2.tar.gz New: ---- dulwich-0.12.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dulwich.spec ++++++ --- /var/tmp/diff_new_pack.3PyHah/_old 2016-01-20 09:54:24.000000000 +0100 +++ /var/tmp/diff_new_pack.3PyHah/_new 2016-01-20 09:54:24.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-dulwich # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-dulwich -Version: 0.11.2 +Version: 0.12.0 Release: 0 Url: https://www.dulwich.io Summary: Pure-Python Git Library @@ -28,6 +28,8 @@ BuildRequires: fdupes BuildRequires: python-Sphinx BuildRequires: python-devel +Requires(post): update-alternatives +Requires(postun): update-alternatives %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif @@ -45,14 +47,42 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +# Prepare for update-alternatives usage +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +for p in dulwich dul-receive-pack dul-upload-pack ; do + mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver} + ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p + # create a dummy target for /etc/alternatives/$p + touch %{buildroot}%{_sysconfdir}/alternatives/$p +done + %fdupes %{buildroot} +%post +"%_sbindir/update-alternatives" \ + --install %{_bindir}/dulwich dulwich %{_bindir}/dulwich-%{py_ver} 30 \ + --slave %{_bindir}/dul-receive-pack dul-receive-pack %{_bindir}/dul-receive-pack-%{py_ver} \ + --slave %{_bindir}/dul-upload-pack dul-upload-pack %{_bindir}/dul-upload-pack-%{py_ver} + +%postun +if [ $1 -eq 0 ] ; then + "%_sbindir/update-alternatives" --remove dulwich %{_bindir}/dulwich-%{py_ver} +fi + %files %defattr(-,root,root,-) -%doc COPYING NEWS README.md build/sphinx/html +%doc COPYING NEWS README.md +%doc build/sphinx/html +%{_bindir}/dulwich %{_bindir}/dul-receive-pack %{_bindir}/dul-upload-pack -%{_bindir}/dulwich +%{_bindir}/dulwich-%{py_ver} +%{_bindir}/dul-receive-pack-%{py_ver} +%{_bindir}/dul-upload-pack-%{py_ver} +%ghost %{_sysconfdir}/alternatives/dulwich +%ghost %{_sysconfdir}/alternatives/dul-receive-pack +%ghost %{_sysconfdir}/alternatives/dul-upload-pack %{python_sitearch}/* %changelog ++++++ dulwich-0.11.2.tar.gz -> dulwich-0.12.0.tar.gz ++++++ ++++ 1698 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de