[python-wikitools/f19] Add macros for el6
Honza Horak
hhorak at fedoraproject.org
Mon May 12 10:57:31 UTC 2014
commit fc9734a1544a0d6ec9d1ee0ddb220388514c0d04
Author: Honza Horak <hhorak at redhat.com>
Date: Mon May 12 12:57:12 2014 +0200
Add macros for el6
python-wikitools.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-wikitools.spec b/python-wikitools.spec
index 66b6366..10730a6 100644
--- a/python-wikitools.spec
+++ b/python-wikitools.spec
@@ -1,8 +1,13 @@
+%if 0%{?rhel} >= 6
+ %global __python2 %{__python}
+ %global python2_sitelib %{python_sitelib}
+%endif
+
%global shortname wikitools
Summary: Python package for interacting with a MediaWiki wiki
Name: python-%{shortname}
Version: 1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Url: https://github.com/alexz-enwp/%{shortname}
Source0: https://github.com/alexz-enwp/%{shortname}/archive/%{version}/%{shortname}-%{version}.tar.gz
License: GPLv3+
@@ -33,6 +38,9 @@ Please report any bugs to <http://code.google.com/p/python-wikitools/issues>
%{python2_sitelib}/%{shortname}-%{version}-py2.*.egg-info
%changelog
+* Mon May 12 2014 Honza Horak <hhorak at redhat.com> - 1.2-2
+- Add macros for el6
+
* Wed Apr 30 2014 Honza Horak <hhorak at redhat.com> - 1.2-1
- Update to new upstream version 1.2
More information about the scm-commits
mailing list