[packages/python-markdown] rename to python-markdown
glen
glen at pld-linux.org
Tue Jan 21 16:28:16 CET 2014
commit 4ceaf0fc850c72190c6fc3a3daab6472b506dbb4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 21 17:27:47 2014 +0200
rename to python-markdown
python-Markdown.spec => python-markdown.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/python-Markdown.spec b/python-markdown.spec
similarity index 91%
rename from python-Markdown.spec
rename to python-markdown.spec
index daf9b6b..ba9c9c0 100644
--- a/python-Markdown.spec
+++ b/python-markdown.spec
@@ -1,21 +1,20 @@
# TODO
# - check py3 tests, are they ran?
-# - rename to python-markdown (after current python-markdown) is trashed
# Conditional build:
%bcond_without tests # do not perform "make test"
%bcond_without py3 # do not build python3 package
-%define srcname Markdown
+%define module markdown
Summary: Markdown implementation in Python
-Name: python-Markdown
+Name: python-%{module}
Version: 2.2.1
-Release: 1
+Release: 2
License: BSD
Group: Development/Languages/Python
-URL: http://packages.python.org/Markdown/
-Source0: http://pypi.python.org/packages/source/M/%{srcname}/%{srcname}-%{version}.tar.gz
+Source0: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
# Source0-md5: 9e002c8051fb346cae75060f3302048a
+URL: http://packages.python.org/Markdown/
BuildRequires: python-devel
BuildRequires: python-elementtree
BuildRequires: python-nose
@@ -28,7 +27,8 @@ BuildRequires: python3-nose
BuildRequires: python-2to3
%endif
Requires: python-elementtree
-Obsoletes: python-markdown = 2.2.1
+Provides: python-Markdown = %{version}-%{release}
+Obsoletes: python-Markdown = 2.2.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,7 +49,7 @@ there are a few known issues.
%prep
# install does not support --build-base. so create two different trees
%setup -qc
-mv %{srcname}-%{version} py2
+mv Markdown-%{version} py2
cd py2
# remove shebangs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-markdown.git/commitdiff/4ceaf0fc850c72190c6fc3a3daab6472b506dbb4
More information about the pld-cvs-commit
mailing list