[python-pymtp] Update to latest version

Ville-Pekka Vainio vpv at fedoraproject.org
Fri Oct 18 16:39:40 UTC 2013


commit 2172e0225b29e1044af225cd1d99c4a1c929883f
Author: Ville-Pekka Vainio <vpvainio at iki.fi>
Date:   Fri Oct 18 19:39:23 2013 +0300

    Update to latest version
    
    - Remove uneeded patch

 .gitignore            |    1 +
 adapt-to-libmtp8.diff |  236 -------------------------------------------------
 python-pymtp.spec     |   22 +++---
 sources               |    2 +-
 4 files changed, 13 insertions(+), 248 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7a23a2e..a8d0bd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /pymtp-latest.tar.bz2
+/PyMTP-0.0.6.tar.gz
diff --git a/python-pymtp.spec b/python-pymtp.spec
index 82e70f5..05c5cad 100644
--- a/python-pymtp.spec
+++ b/python-pymtp.spec
@@ -1,19 +1,17 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 # debuginfo would be empty
 %global debug_package %{nil}
-%global module pymtp
+%global module PyMTP
 
 Name:           python-pymtp
-Version:        0.0.4
-Release:        7%{?dist}
+Version:        0.0.6
+Release:        1%{?dist}
 Summary:        A Pythonic wrapper around libmtp
 
 Group:          Development/Libraries
 License:        GPLv3+
-URL:            http://downloads.nick125.com/projects/%{module}
-Source0:        http://downloads.nick125.com/projects/%{module}/%{module}-latest.tar.bz2
-# Make pymtp work with libmtp >= 1.0.0. Upstream seems inactive.
-Patch0:         http://patch-tracker.debian.org/patch/series/dl/pymtp/0.0.4-2/adapt-to-libmtp8.diff
+URL:            https://pypi.python.org/pypi/%{module}
+Source0:        https://pypi.python.org/packages/source/P/PyMTP/PyMTP-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Depend on the libmtp soname provides of the correct arch
@@ -31,7 +29,6 @@ with MTP devices.
 
 %prep
 %setup -q -n %{module}-%{version}
-%patch0 -p1
 # Examples are documentation, remove executable permission
 chmod -x examples/*
 # Remove the shebang to silence rpmlint
@@ -54,11 +51,14 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc README COPYING examples
-%{python_sitearch}/PyMTP*
-%{python_sitearch}/%{module}*
-
+%{python_sitearch}/pymtp.*
+%{python_sitearch}/*.egg-info
 
 %changelog
+* Thu Oct 17 2013 Abel Luck <abel at outcomedubious.im> - 0.0.6-1
+- Update to latest version
+- Remove uneeded patch
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 8416c76..71193aa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5eff39cbcc2e073228df04fe1ab1fce8  pymtp-latest.tar.bz2
+23679b79ce5e2eebf987b0daeb351fb1  PyMTP-0.0.6.tar.gz


More information about the scm-commits mailing list