+++ /dev/null
-%define srcname Markdown
-
-Name: python3-markdown
-Version: 3.1.1
-Release: 1
-Summary: Markdown implementation in Python3
-Group: Development/Languages
-License: BSD
-URL: http://www.freewisdom.org/projects/python-markdown/
-Source0: http://pypi.python.org/packages/source/M/%{srcname}/%{srcname}-%{version}.tar.gz
-Source1001: python3-markdown.manifest
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-%if 0%{?rhel}
-BuildRequires: python3-elementtree
-Requires: python3-elementtree
-%endif
-
-
-%description
-This is a Python3 implementation of John Gruber's Markdown. It is
-almost completely compliant with the reference implementation, though
-there are a few known issues.
-
-
-%prep
-%setup -q -n %{srcname}-%{version}
-
-# remove shebangs
-find markdown -type f -name '*.py' \
- -exec sed -i -e '/^#!/{1D}' {} \;
-
-
-%build
-cp %{SOURCE1001} .
-%{_bindir}/python3 setup.py build
-
-
-%install
-rm -rf %{buildroot}
-%{_bindir}/python3 setup.py install -O1 --skip-build --root %{buildroot} --prefix %{_prefix}
-
-
-%files
-%manifest %{name}.manifest
-%{python3_sitelib}/*
-%{_bindir}/markdown_py
-
-