[python-cpopen/f18] Updating package:

Yaniv Bronhaim bronhaim at fedoraproject.org
Mon Aug 26 08:03:10 UTC 2013


commit 5412f381392e3b89162276ee5d78cfda6673fd9f
Author: Yaniv Bronhaim <ybronhei at redhat.com>
Date:   Mon Aug 26 11:02:16 2013 +0300

    Updating package:
    
    * adding readme and authors files
    * updating dst locations for installation process

 .gitignore         |    1 +
 python-cpopen.spec |   22 +++++++++++++---------
 sources            |    2 +-
 3 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6e7186c..9cf2191 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /cpopen-1.2.2.tar.gz
+/cpopen-1.2.3.tar.gz
diff --git a/python-cpopen.spec b/python-cpopen.spec
index 456b292..4f23dfd 100644
--- a/python-cpopen.spec
+++ b/python-cpopen.spec
@@ -1,8 +1,9 @@
 %{!?python_ver: %global python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}
-%global __provides_exclude_from ^(%{python_sitearch}|%{python3_sitearch})/.*\\.so$
+%global __provides_exclude_from ^%{python_sitearch}/.*\\.so$
+%global libname cpopen
 
-Name:           python-cpopen
-Version:        1.2.2
+Name:           python-%{libname}
+Version:        1.2.3
 Release:        1%{?dist}
 Summary:        Creates a sub-process in simpler safer manner
 
@@ -18,7 +19,7 @@ Python package for creating sub-process in simpler and safer manner by using C
 code.
 
 %prep
-%setup -q -n cpopen-%{version}
+%setup -q -n %{libname}-%{version}
 
 %build
 %{__python} setup.py build
@@ -26,15 +27,18 @@ code.
 
 %install
 %{__python} setup.py install --root $RPM_BUILD_ROOT \
-                             --install-lib %{python_sitearch}
+			     --install-lib %{python_sitearch}/%{libname}
 
 %files
-%doc AUTHORS COPYING MANIFEST
-%{python_sitearch}/__init__.py*
-%{python_sitearch}/cpopen-%{version}-py*.egg-info
-%attr(755, root, root) %{python_sitearch}/cpopen.so*
+%doc AUTHORS COPYING readme.md
+%{python_sitearch}/%{libname}/__init__.py*
+%{python_sitearch}/%{libname}/%{libname}-%{version}-py*.egg-info
+%attr(755, root, root) %{python_sitearch}/%{libname}/%{libname}.so*
 
 %changelog
+* Sun Aug 25 2013 Yaniv Bronhaim <ybronhei at redhat.com> - 1.2.3
+- Moving files under cpopen folder
+
 * Wed Jun 12 2013 Yaniv Bronhaim <ybronhei at redhat.com> - 1.2.2-1
 - Merging vdsm-python-cpopen fixes
 - Renaming to cpopen.so
diff --git a/sources b/sources
index a19b833..58c7da2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-87721ada5e5003bc69076009a826a1b9  cpopen-1.2.2.tar.gz
+05b03b38f2fad32784c7a8d4d2531ce0  cpopen-1.2.3.tar.gz


More information about the scm-commits mailing list