Accepting request 353641 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/353641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=17
This commit is contained in:
parent
6a5f405154
commit
c16ad319b6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a543e2798da5600fe73ed71470f67bcd92611f4e2491d0ed3a3b61c2f91cbf40
|
|
||||||
size 290404
|
|
3
dulwich-0.12.0.tar.gz
Normal file
3
dulwich-0.12.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8f9070f37eec6175aab60d7064246b5b6453b2fab342589101f1c8feda0a0cc6
|
||||||
|
size 293900
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 5 23:29:21 UTC 2015 - termim@gmail.com
|
Sat Dec 5 23:29:21 UTC 2015 - termim@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-dulwich
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-dulwich
|
Name: python-dulwich
|
||||||
Version: 0.11.2
|
Version: 0.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://www.dulwich.io
|
Url: https://www.dulwich.io
|
||||||
Summary: Pure-Python Git Library
|
Summary: Pure-Python Git Library
|
||||||
@ -28,6 +28,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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)")}
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
%endif
|
%endif
|
||||||
@ -45,14 +47,42 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
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}
|
%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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%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-receive-pack
|
||||||
%{_bindir}/dul-upload-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}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user