[fpaste/el5] - Add python26 as dep - Fix fpaste to use python26 instead of python 2.4 (defaut in el5)

Athmane Madjoudj athmane at fedoraproject.org
Sat May 25 09:20:11 UTC 2013


commit a039edf894d7e8b2665e80630bb5540c496b7d1a
Author: Athmane Madjoudj <athmane at fedoraproject.org>
Date:   Sat May 25 10:19:41 2013 +0100

    - Add python26 as dep
    - Fix fpaste to use python26 instead of python 2.4 (defaut in el5)

 fpaste.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/fpaste.spec b/fpaste.spec
index bf0990f..4d10f98 100644
--- a/fpaste.spec
+++ b/fpaste.spec
@@ -1,6 +1,6 @@
 Name:		fpaste
 Version:	0.3.7.1
-Release:	8%{?dist}.1
+Release:	8%{?dist}.2
 Summary:	A simple tool for pasting info onto sticky notes instances
 BuildArch:	noarch
 Group:		Applications/Internet
@@ -8,6 +8,7 @@ License:	GPLv3+
 URL:		https://fedorahosted.org/fpaste/
 Source0:	https://fedorahosted.org/released/fpaste/fpaste-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: python26
 
 # Point fpaste to fedora sticky notes staging instance
 # Thanks Clint for the patch. 
@@ -53,6 +54,8 @@ reason they may be unable to paste something into the pastebin
 %install
 mkdir -p %{buildroot}%{_bindir}
 make install BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}
+# Use python 2.6
+sed -i 's|/usr/bin/env\ python|/usr/bin/env\ python2.6|' %{buildroot}%{_bindir}/fpaste
 
 %clean
 rm -rf %{buildroot}
@@ -65,6 +68,10 @@ rm -rf %{buildroot}
 %{_mandir}/man1/fpaste.1.gz
 
 %changelog
+* Sat May 25 2013 Athmane Madjoudj <athmane at fedoraproject.org> 0.3.7.1-8.2
+- Add python26 as dep
+- Fix fpaste to use python26 instead of python 2.4 (defaut in el5)
+
 * Fri May 24 2013 Athmane Madjoudj <athmane at fedoraproject.org> 0.3.7.1-8.1
 - Adapt the spec for EL5.
 


More information about the scm-commits mailing list