[packages/python-markupsafe] renamed to python-markupsafe

glen glen at pld-linux.org
Wed Sep 25 22:46:40 CEST 2013


commit a8646d2c77b16d4b110ddb0d6639ce6e9c956af1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Sep 25 23:46:26 2013 +0300

    renamed to python-markupsafe

 python-MarkupSafe.spec => python-markupsafe.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-MarkupSafe.spec b/python-markupsafe.spec
similarity index 92%
rename from python-MarkupSafe.spec
rename to python-markupsafe.spec
index 70aa5c5..6115ae0 100644
--- a/python-MarkupSafe.spec
+++ b/python-markupsafe.spec
@@ -4,14 +4,14 @@
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
 
-%define 	module	MarkupSafe
+%define 	module	markupsafe
 Summary:	Implements a XML/HTML/XHTML Markup safe string for Python
 Name:		python-%{module}
 Version:	0.15
 Release:	2
 License:	BSD
 Group:		Development/Languages/Python
-Source0:	http://pypi.python.org/packages/source/M/MarkupSafe/%{module}-%{version}.tar.gz
+Source0:	http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
 # Source0-md5:	4e7c4d965fe5e033fa2d7bb7746bb186
 URL:		http://www.pocoo.org/
 BuildRequires:	rpm-pythonprov
@@ -26,6 +26,8 @@ BuildRequires:	python3-devel
 BuildRequires:	python3-distribute
 %endif
 Requires:	python-modules
+Provides:	python-MarkupSafe = %{version}-%{release}
+Obsoletes:	python-MarkupSafe < 0.15-2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,7 +42,7 @@ Implements a XML/HTML/XHTML Markup safe string for Python.
 
 %prep
 %setup -qc
-mv %{module}-%{version} py2
+mv MarkupSafe-%{version} py2
 # for %doc
 cp -p py2/{AUTHORS,LICENSE,README.rst} .
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-markupsafe.git/commitdiff/a8646d2c77b16d4b110ddb0d6639ce6e9c956af1



More information about the pld-cvs-commit mailing list