move conflicting py2/py3 binart tool to -tools subpackage [release 2.1.3-3mamba;Tue Oct 11 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 16:25:47 +01:00
parent eee1a4f71e
commit a875a1f572

View File

@ -1,6 +1,6 @@
Name: python-pygments Name: python-pygments
Version: 2.1.3 Version: 2.1.3
Release: 2mamba Release: 3mamba
Summary: A syntax highlighting package written in Python Summary: A syntax highlighting package written in Python
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -32,6 +32,14 @@ Highlights are:
%pyver_package %pyver_package
%endif %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 %prep
%setup -q -n Pygments-%{version} %setup -q -n Pygments-%{version}
@ -60,11 +68,20 @@ install -D -m 0644 doc/pygmentize.1 \
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/pygments %dir %{python_sitearch}/pygments
%dir %{python_sitearch}/*.egg-info %dir %{python_sitearch}/*.egg-info
%{_mandir}/man1/pygmentize.1* %exclude %{_bindir}/pygmentize
%exclude %{_mandir}/man1/pygmentize.1*
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
#CHANGES TODO #CHANGES TODO
%files %{?pyappend:%pyappend-}tools -f %{name}.filelist
%defattr(-,root,root)
%{_bindir}/pygmentize
%{_mandir}/man1/pygmentize.1*
%changelog %changelog
* Tue Oct 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-3mamba
- move conflicting py2/py3 binart tool to -tools subpackage
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2mamba * Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2mamba
- added py3 support - added py3 support