[python-jsonpath-rw] Fix %files for python3 package

slinabery slinabery at fedoraproject.org
Mon Jan 6 15:01:38 UTC 2014


commit cd879885c15654186c0f721c65b20dc0b819df94
Author: Steve Linabery <slinaber at redhat.com>
Date:   Mon Jan 6 09:01:41 2014 -0600

    Fix %files for python3 package

 python-jsonpath-rw.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-jsonpath-rw.spec b/python-jsonpath-rw.spec
index 85bdc04..f87d892 100644
--- a/python-jsonpath-rw.spec
+++ b/python-jsonpath-rw.spec
@@ -7,7 +7,7 @@
 
 Name:		python-%{pkgname}
 Version:	1.2.3
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:        Extended implementation of JSONPath for Python
 
 License:	ASL 2.0
@@ -101,10 +101,15 @@ popd
 %doc README.rst LICENSE
 %{python_sitelib}/*
 
+%if 0%{?with_python3}
 %files -n python3-%{pkgname}
 %doc README.rst LICENSE
 %{python3_sitelib}/*
+%endif
 
 %changelog
+* Mon Jan 06 2014 Steve Linabery <slinaber at redhat.com> - 1.2.3-2
+- Add python3 specific logic around files section for python3 pkg
+
 * Thu Jan 02 2014 Steve Linabery <slinaber at redhat.com> - 1.2.3-1
 - Initial packaging for Fedora


More information about the scm-commits mailing list