[python-pylibmc] upstream release 1.2.3

Rahul Sundaram sundaram at fedoraproject.org
Tue Jan 29 20:54:21 UTC 2013


commit 235c34560bc7cb0bd50bdf0a4ae4b1b478a68587
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Tue Jan 29 15:54:09 2013 -0500

    upstream release 1.2.3
    
    - resolves rhbz#905508

 .gitignore          |    1 +
 python-pylibmc.spec |   33 +++++++++++----------------------
 sources             |    2 +-
 3 files changed, 13 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b0eb581..f1328f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /python-pylibmc-1.2.0.20110805gitf01c31.tar.xz
+/pylibmc-1.2.3.tar.gz
diff --git a/python-pylibmc.spec b/python-pylibmc.spec
index 702fb23..51db591 100644
--- a/python-pylibmc.spec
+++ b/python-pylibmc.spec
@@ -1,23 +1,12 @@
-%global git_date    20110805
-%global git_version f01c31
-
 Name:           python-pylibmc
-Version:        1.2.0
-Release:        10.%{git_date}git%{git_version}%{?dist}
+Version:        1.2.3
+Release:        1
 Summary:        Memcached client for Python
 
 Group:          Development/Libraries
 License:        BSD
 URL:            http://sendapatch.se/projects/pylibmc/
-
-# git clone https://github.com/lericson/pylibmc
-# cd pylibmc
-# git archive --format=tar HEAD | xz  > {name}-{version}.{git_date}git{git_version}.tar.xz
-Source0:        %{name}-%{version}.%{git_date}git%{git_version}.tar.xz      
-
-# https://github.com/lericson/pylibmc/commit/013ba5f610951d6c322a99d780aca6713f314140
-# https://github.com/lericson/pylibmc/commit/c1088cb8c7448c58acdb3194f5a6944b7bdcd823
-Patch0:         pylibmc-build.patch
+Source0:        http://pypi.python.org/packages/source/p/pylibmc/pylibmc-%{version}.tar.gz
 
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
@@ -31,10 +20,7 @@ intentionally made as close to python-memcached as possible,
 so that applications can drop-in replace it.
 
 %prep
-%setup -q -cn %{name}
-
-%patch0 -p1 -b .fixbuild
-
+%setup -q -n pylibmc-%{version}
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -44,18 +30,21 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 }
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/_pylibmc.so
- 
+
 %files
-%doc docs/ LICENSE README.rst TODO
-%{python_sitearch}/*.egg-info/
+%doc docs/ LICENSE README.rst
+%{python_sitearch}/pylibmc-%{version}*.egg-info
 %{python_sitearch}/pylibmc/
 %{python_sitearch}/*.so
 
 
 %changelog
+* Tue Jan 28 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.2.3-1
+- upstream release 1.2.3
+- resolves rhbz#905508
+
 * Sat Sep 22 2012  Remi Collet <remi at fedoraproject.org> - 1.2.0-10.20110805gitf01c31
 - rebuild against libmemcached.so.11 without SASL
 
diff --git a/sources b/sources
index a47ec56..5aaf824 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ac723a8c2049cd14b37d212f847ebe01  python-pylibmc-1.2.0.20110805gitf01c31.tar.xz
+bfdcfef66a1bf260a65d2ffdcdd68466  pylibmc-1.2.3.tar.gz


More information about the scm-commits mailing list