[python-lockfile] Update to 0.10.2
Bohuslav Kabrda
bkabrda at fedoraproject.org
Wed Dec 10 07:53:59 UTC 2014
commit 750f91af07547faa500e76ef2a53de5cada3e68a
Author: Slavek Kabrda <bkabrda at redhat.com>
Date: Wed Dec 10 08:54:02 2014 +0100
Update to 0.10.2
- Drop patches merged upstream
- Update URL and Source to point to new upstream
.gitignore | 1 +
lockfile-python3-exceptions-and-file-modes.patch | 42 -----------------
lockfile-python3-imports.patch | 53 ----------------------
lockfile-python3-unicode-str.patch | 27 -----------
python-lockfile.spec | 32 +++++--------
sources | 3 +-
6 files changed, 15 insertions(+), 143 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 03af15f..8361824 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
lockfile-0.9.tar.gz
lockfile-0.8.tar.gz
/lockfile-0.9.1.tar.gz
+/lockfile-0.10.2.tar.gz
diff --git a/python-lockfile.spec b/python-lockfile.spec
index fe839ea..335e250 100644
--- a/python-lockfile.spec
+++ b/python-lockfile.spec
@@ -4,35 +4,28 @@
%define upstream_name lockfile
Name: python-%{upstream_name}
-Version: 0.9.1
-Release: 8%{?dist}
+Version: 0.10.2
+Release: 1%{?dist}
Epoch: 1
Summary: A platform-independent file locking module
Group: Development/Languages
License: MIT
-URL: http://code.google.com/p/pylockfile
-Source0: http://pylockfile.googlecode.com/files/%{upstream_name}-%{version}.tar.gz
-# Following patches are from what seems to be current upstream
-# https://github.com/smontanaro/pylockfile
-# https://github.com/smontanaro/pylockfile/commit/bf2627a5b9f83e1bbcf1b5030a693acb6236a211
-Patch0: lockfile-python3-exceptions-and-file-modes.patch
-# https://github.com/smontanaro/pylockfile/commit/eeead7d35e9a97b457b90edd241fd031df68d57b
-Patch1: lockfile-python3-unicode-str.patch
-# Patch 2 is adapted from
-# https://github.com/smontanaro/pylockfile/commit/379fa0b6131995f96f5bd048906fc0bd3c2527f7
-Patch2: lockfile-python3-imports.patch
+URL: https://github.com/openstack/pylockfile
+Source0: https://pypi.python.org/packages/source/l/lockfile/%{upstream_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-nose
+BuildRequires: python-pbr
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
+BuildRequires: python3-pbr
%endif # with_python3
%description
@@ -61,10 +54,6 @@ This is a Python 3 build of lockfile package.
%prep
%setup -q -n %{upstream_name}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p0
-
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
@@ -103,19 +92,24 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc ACKS LICENSE MANIFEST PKG-INFO README RELEASE-NOTES doc/
+%doc ACKS AUTHORS LICENSE PKG-INFO README RELEASE-NOTES doc/
%{python_sitelib}/%{upstream_name}
%{python_sitelib}/%{upstream_name}-%{version}-*.egg-info
%if 0%{?with_python3}
%files -n python3-lockfile
%defattr(-,root,root,-)
-%doc ACKS LICENSE MANIFEST PKG-INFO README RELEASE-NOTES doc/
+%doc ACKS AUTHORS LICENSE PKG-INFO README RELEASE-NOTES doc/
%{python3_sitelib}/%{upstream_name}
%{python3_sitelib}/%{upstream_name}-%{version}-*.egg-info
%endif # with_python3
%changelog
+* Tue Dec 09 2014 Slavek Kabrda <bkabrda at redhat.com> - 1:0.10.2-1
+- Update to 0.10.2
+- Drop patches merged upstream
+- Update URL and Source to point to new upstream
+
* Fri Jun 20 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 1:0.9.1-8
- Properly list files for python3-lockfile subpackage.
diff --git a/sources b/sources
index 1c9de0e..02b1a8c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-2d515e19eb6f69d6ed711cbbafdec7ef lockfile-0.8.tar.gz
-4e4c7ea4c4301500da5e7f3b51e01cfe lockfile-0.9.1.tar.gz
+1aa6175a6d57f082cd12e7ac6102ab15 lockfile-0.10.2.tar.gz
More information about the scm-commits
mailing list