stardust85 pushed to python-bottle (epel7). "populated new el6 branch from master (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 14 10:25:50 UTC 2015


From f6a3d0bb86ef2e6c0bc6e6467ca1a83fc759bd54 Mon Sep 17 00:00:00 2001
From: Michel Samia <msamia at netsuite.com>
Date: Fri, 20 Feb 2015 08:01:25 -0800
Subject: populated new el6 branch from master

- removed python3 parts as it isn't in el6

diff --git a/python-bottle.spec b/python-bottle.spec
index 3001269..7a2a2e5 100644
--- a/python-bottle.spec
+++ b/python-bottle.spec
@@ -14,9 +14,6 @@ BuildArch:      noarch
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 
-BuildRequires:  python3-devel
-BuildRequires:  python3-setuptools
-
 %description
 Bottle is a fast and simple micro-framework for small web-applications. 
 It offers request dispatching (Routes) with URL parameter support, Templates, 
@@ -24,49 +21,27 @@ a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and
 template engines. All in a single file and with no dependencies other than the 
 Python Standard Library.
 
-%package -n python3-%{srcname}
-Summary:        Fast and simple WSGI-framework for small web-applications
-
-%description -n python3-%{srcname}
-Bottle is a fast and simple micro-framework for small web-applications. 
-It offers request dispatching (Routes) with URL parameter support, Templates, 
-a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and 
-template engines. All in a single file and with no dependencies other than the 
-Python Standard Library.
-
 %prep
 %setup -q -n %{srcname}-%{version}
 sed -i '/^#!/d' bottle.py
 
-rm -rf %{py3dir}
-cp -a . %{py3dir}
-find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
 
 %build
 %{__python} setup.py build
 
-pushd %{py3dir}
-%{__python3} setup.py build
-popd
-
 %install
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 rm %{buildroot}%{_bindir}/bottle.py
 
-pushd %{py3dir}
-%{__python3} setup.py install --skip-build --root %{buildroot}
-rm %{buildroot}%{_bindir}/bottle.py
-popd
-
 %files
 %doc README.rst PKG-INFO
 %{python_sitelib}/*
 
-%files -n python3-%{srcname}
-%doc README.rst PKG-INFO
-%{python3_sitelib}/*
-
 %changelog
+* Fri Feb 20 2015 Michel Samia <msamia at netsuite.com> - 0.12.6-1
+- populated new el6 branch from master
+- removed python3 parts as it isn't in el6
+
 * Sat Jul 12 2014 Rahul Sundaram <sundaram at fedoraproject.org> - 0.12.6-1
 - resolves rhbz#1093257 - JSON content type not restrictive enough
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-bottle.git/commit/?h=epel7&id=f6a3d0bb86ef2e6c0bc6e6467ca1a83fc759bd54


More information about the scm-commits mailing list