[python-cltk/el6] update to 0.0.0.48a release

Parag Nemade pnemade at fedoraproject.org
Tue Nov 25 09:57:46 UTC 2014


commit 15b355a544b2088dba2bb5970dae4161d0cc7792
Author: Parag Nemade <pnemade at redhat.com>
Date:   Tue Nov 25 15:27:39 2014 +0530

    update to 0.0.0.48a release

 .gitignore       |    1 +
 python-cltk.spec |   18 +++++++++++++-----
 sources          |    2 +-
 3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ab01407..5b8d304 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /cltk-0.0.0.34.tar.gz
 /cltk-0.0.0.47.tar.gz
+/cltk-0.0.0.48a.tar.gz
diff --git a/python-cltk.spec b/python-cltk.spec
index f0955b7..dfffad0 100644
--- a/python-cltk.spec
+++ b/python-cltk.spec
@@ -1,7 +1,12 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
+
 %global module_name cltk
 
 Name:           python-%{module_name}
-Version:        0.0.0.47
+Version:        0.0.0.48a
 Release:        1%{?dist}
 Summary:        NLP support for Ancient Greek and Latin
 
@@ -22,17 +27,20 @@ for Classical languages.
 rm -rf *.egg-info
 
 %build
-%{__python} setup.py build
+%{__python2} setup.py build
 
 %install
-%{__python} setup.py install --skip-build --root=%{buildroot}
+%{__python2} setup.py install --skip-build --root=%{buildroot}
 
 %files -n python-%{module_name}
 %doc PKG-INFO
-%{python_sitelib}/%{module_name}/
-%{python_sitelib}/%{module_name}-%{version}-py2.*.egg-info
+%{python2_sitelib}/%{module_name}/
+%{python2_sitelib}/%{module_name}-%{version}-py2.*.egg-info
 
 %changelog
+* Tue Nov 25 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.0.0.48a-1
+- update to 0.0.0.48a release
+
 * Mon Nov 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.0.0.47-1
 - update to 0.0.0.47 release
 
diff --git a/sources b/sources
index 4932c86..45f0c5a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bc7c3b2e125ff39a9556700d21a5924b  cltk-0.0.0.47.tar.gz
+2ca519ea4f08c21b9a04017127be5cc1  cltk-0.0.0.48a.tar.gz


More information about the scm-commits mailing list