From bc57265075a1f11987654a23e71918a07a977415 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Fri, 10 Apr 2020 13:29:48 +0900 Subject: [PATCH] Revert "Apply python3 build" This reverts commit c7b53395597001823ea4e89320304284929f103c. Change-Id: I70b7d9944a8589a2f76d092d6b1bb185dc92be44 Signed-off-by: Hyunjee Kim --- packaging/python3-pygments.manifest | 5 ---- packaging/python3-pygments.spec | 53 ------------------------------------- 2 files changed, 58 deletions(-) delete mode 100644 packaging/python3-pygments.manifest delete mode 100644 packaging/python3-pygments.spec diff --git a/packaging/python3-pygments.manifest b/packaging/python3-pygments.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/python3-pygments.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/python3-pygments.spec b/packaging/python3-pygments.spec deleted file mode 100644 index 6e0f8c7..0000000 --- a/packaging/python3-pygments.spec +++ /dev/null @@ -1,53 +0,0 @@ -Name: python3-pygments -Version: 1.1.1 -Release: 1 -Summary: A syntax highlighting engine written in Python3 - -Group: Development/Libraries -License: BSD -URL: http://pygments.org/ -Source0: %{name}-%{version}.tar.gz -Source1001: python3-pygments.manifest - -BuildArch: noarch -BuildRequires: python3-devel, python3-setuptools -Requires: python3-setuptools - - -%description -Pygments is a syntax highlighting engine written in Python3. That means, it -will take source code (or other markup) in a supported language and output -a processed version (in different formats) containing syntax highlighting -markup. - - -%prep -%setup -q - - -%build -cp %{SOURCE1001} . -%{_bindir}/python3 setup.py build -%{__sed} -i 's/\r//' LICENSE - - -%install - -%if 0%{?suse_version} -%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES -%else -%{_bindir}/python3 setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix} -%endif - -%if 0%{?suse_version} -%files -f INSTALLED_FILES -%manifest %{name}.manifest -%else -%files -%manifest %{name}.manifest -%{python3_sitelib}/* -%endif -# For noarch packages: sitelib -%{_bindir}/pygmentize - - -- 2.7.4