From 4c7781a2d68d0187f782e696d9f2e393400eace1 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Fri, 10 Apr 2020 10:48:58 +0900 Subject: [PATCH] Revert "Apply python3 build" This reverts commit 203fa4e2c9ee1d2f7f4ba1fded22deaf05641556. Change-Id: Ia03e67e7d1108ae1a524edbbee9bb5a3a2e33c6a Signed-off-by: Hyunjee Kim --- packaging/python3-markdown.manifest | 5 --- packaging/python3-markdown.spec | 51 ----------------------------- 2 files changed, 56 deletions(-) delete mode 100644 packaging/python3-markdown.manifest delete mode 100644 packaging/python3-markdown.spec diff --git a/packaging/python3-markdown.manifest b/packaging/python3-markdown.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/python3-markdown.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/python3-markdown.spec b/packaging/python3-markdown.spec deleted file mode 100644 index 9cd8055..0000000 --- a/packaging/python3-markdown.spec +++ /dev/null @@ -1,51 +0,0 @@ -%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 - - -- 2.34.1