From 983bd31752215851a357a421c21f0f30b8510c9f Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jun 16 2018 09:05:33 +0000 Subject: Remove info scriptlets (not needed on F28+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MP2QVJZBOJZEOQO2G7UB2HLXKXYPF2G5/ --- diff --git a/python2-docs.spec b/python2-docs.spec index e4e2648..5ee19c8 100644 --- a/python2-docs.spec +++ b/python2-docs.spec @@ -3,7 +3,7 @@ Name: python2-docs # The Version needs to be in-sync with the "python2" package: Version: 2.7.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Documentation for the Python 2 programming language Group: Documentation License: Python @@ -38,8 +38,6 @@ for the Python 2 language. %package info Summary: Documentation for the Python 2 programming language as info pages Group: Documentation -Requires(post): info -Requires(preun):info BuildRequires: texinfo Provides: python-docs-info = %{version}-%{release} @@ -79,13 +77,6 @@ cp -v Doc/build/texinfo/python.info %{buildroot}%{_infodir} sed -i -e 's,logging_flow\.png,%{_pkgdocdir}/html/_images/&,' \ %{buildroot}%{_infodir}/python.info -%post info -/sbin/install-info %{_infodir}/python.info %{_infodir}/dir || : - -%preun info -if [ $1 = 0 ]; then -/sbin/install-info --delete %{_infodir}/python.info.gz %{_infodir}/dir || : -fi %check # Verify that all of the local links work (see rhbz#670493) @@ -108,6 +99,9 @@ linkchecker \ %license LICENSE %changelog +* Sat Jun 16 2018 Miro Hrončok - 2.7.15-2 +- Remove info scriptlets (not needed on F28+) + * Sat May 12 2018 Miro Hrončok - 2.7.15-1 - Update to 2.7.15