From a875a1f5728a63bdc611ce4d58211e9f306bf2e0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:25:47 +0100 Subject: [PATCH] move conflicting py2/py3 binart tool to -tools subpackage [release 2.1.3-3mamba;Tue Oct 11 2016] --- python-pygments.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/python-pygments.spec b/python-pygments.spec index b91d98c..4d5ea19 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -1,6 +1,6 @@ Name: python-pygments Version: 2.1.3 -Release: 2mamba +Release: 3mamba Summary: A syntax highlighting package written in Python Group: System/Libraries/Python Vendor: openmamba @@ -32,6 +32,14 @@ Highlights are: %pyver_package %endif +%package %{?pyappend:%pyappend-}tools +Group: Development/Tools +Summary: Utilities for %{name} +Requires: %{name}%{?pyappend:-%pyappend} = %{?epoch:%epoch:}%{version}-%{release} + +%description %{?pyappend:%pyappend-}tools +This package contains utilities for %{name}. + %prep %setup -q -n Pygments-%{version} @@ -60,11 +68,20 @@ install -D -m 0644 doc/pygmentize.1 \ %defattr(-,root,root) %dir %{python_sitearch}/pygments %dir %{python_sitearch}/*.egg-info -%{_mandir}/man1/pygmentize.1* +%exclude %{_bindir}/pygmentize +%exclude %{_mandir}/man1/pygmentize.1* %doc AUTHORS LICENSE #CHANGES TODO +%files %{?pyappend:%pyappend-}tools -f %{name}.filelist +%defattr(-,root,root) +%{_bindir}/pygmentize +%{_mandir}/man1/pygmentize.1* + %changelog +* Tue Oct 11 2016 Silvan Calarco 2.1.3-3mamba +- move conflicting py2/py3 binart tool to -tools subpackage + * Sun Jul 24 2016 Silvan Calarco 2.1.3-2mamba - added py3 support