jdornak pushed to python-django-fas (f22). "__python2 and python2_sitelib macros for el6"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 13 20:13:13 UTC 2015


From e375ae629b8d96ae15142b8844f35543e7c83c17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Dor=C5=88=C3=A1k?= <jdornak at redhat.com>
Date: Wed, 13 May 2015 22:11:01 +0200
Subject: __python2 and python2_sitelib macros for el6


diff --git a/python-django-fas.spec b/python-django-fas.spec
index a19df25..975d503 100644
--- a/python-django-fas.spec
+++ b/python-django-fas.spec
@@ -2,6 +2,8 @@
 %bcond_without  python3
 %else
 %global with_python3 0
+%{!?__python2:          %global __python2 %{__python}}
+%{!?python2_sitelib:    %global python2_sitelib %{python_sitelib}}
 %endif
 
 %global         pkgname django-fas
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-django-fas.git/commit/?h=f22&id=e375ae629b8d96ae15142b8844f35543e7c83c17


More information about the scm-commits mailing list