From 1067aa581445397cf2c71b316790a11e43e20fb0 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Fri, 30 Oct 2020 14:49:32 +0800 Subject: [PATCH] Remove subpackage python2-antlr --- assimp.spec | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/assimp.spec b/assimp.spec index 1b11d99..9f79a65 100644 --- a/assimp.spec +++ b/assimp.spec @@ -1,6 +1,6 @@ Name: assimp Version: 3.3.1 -Release: 19 +Release: 20 Summary: Library to load and process various 3D model formats into applications. License: BSD and MIT URL: http://assimp.sourceforge.net @@ -15,7 +15,7 @@ Patch0007: 0001-Enable-doxygen-been-properly-used-from-cmake-build-a.patch Patch0008: 0001-Apply-mechanism-to-decide-use-for-IrrXML-external-or.patch BuildRequires: gcc-c++ boost-devel cmake dos2unix irrlicht-devel irrXML-devel BuildRequires: doxygen poly2tri-devel gtest-devel pkgconfig(zzip-zlib-config) -BuildRequires: pkgconfig(zlib) pkgconfig(minizip) pkgconfig(python2) python2-rpm-macros +BuildRequires: pkgconfig(zlib) pkgconfig(minizip) BuildRequires: pkgconfig(ILUT) pkgconfig(python3) python3-rpm-macros Provides: bundled(polyclipping) = 4.8.8 bundled(openddl-parser) @@ -33,16 +33,6 @@ Requires: assimp = %{version}-%{release} This package provides the header files and libraries for assimp. Developers use it to develop programs. -%package -n python2-assimp -Summary: Python2 bindings for assimp -BuildArch: noarch -Requires: assimp = %{version}-%{release} python2 -Provides: assimp-python = %{version}-%{release} -Obsoletes: assimp-python < 3.1.1 - -%description -n python2-assimp -This package provides the PyAssimp python bindings - %package -n python3-assimp Summary: Python3 bindings for assimp BuildArch: noarch @@ -82,8 +72,6 @@ iconv -f iso8859-1 -t utf-8 CREDITS > CREDITS.conv && mv -f CREDITS.conv CREDITS %install %make_install -C build -install -d %{buildroot}%{python2_sitelib}/pyassimp/ -install -m 0644 port/PyAssimp/pyassimp/*.py %{buildroot}%{python2_sitelib}/pyassimp/ install -d %{buildroot}%{python3_sitelib}/pyassimp/ install -m 0644 port/PyAssimp/pyassimp/*.py %{buildroot}%{python3_sitelib}/pyassimp/ @@ -107,15 +95,14 @@ install -m 0644 port/PyAssimp/pyassimp/*.py %{buildroot}%{python3_sitelib}/pyass %files help %{_docdir}/* -%files -n python2-assimp -%doc port/PyAssimp/README.md -%{python2_sitelib}/pyassimp - %files -n python3-assimp %doc port/PyAssimp/README.md %{python3_sitelib}/pyassimp %changelog +* Wed Oct 21 2020 chengzihan - 3.3.1-20 +- Remove Subpackage python2-assimp + * Wed Sep 9 2020 Ge Wang - 3.3.1-19 - Modify Source0 Url -- Gitee