#3 remove install-info scriptlets
Closed 5 years ago by ignatenkobrain. Opened 5 years ago by ignatenkobrain.
rpms/ ignatenkobrain/coreutils scriptlets  into  master

file modified
+4 -15
@@ -1,7 +1,7 @@ 

  Summary: A set of basic GNU tools commonly used in shell scripts

  Name:    coreutils

  Version: 8.30

- Release: 5%{?dist}

+ Release: 6%{?dist}

  License: GPLv3+

  Group:   System Environment/Base

  Url:     https://www.gnu.org/software/coreutils/
@@ -123,8 +123,6 @@ 

  # yum obsoleting rules explained at:

  # https://bugzilla.redhat.com/show_bug.cgi?id=1107973#c7

  Obsoletes: %{name} < 8.24-100

- Requires(preun): /sbin/install-info

- Requires(post): /sbin/install-info

  Summary:  coreutils common optional components

  %description common

  Optional though recommended components,
@@ -219,18 +217,6 @@ 

  # (sb) Deal with Installed (but unpackaged) file(s) found

  rm -f $RPM_BUILD_ROOT%{_infodir}/dir

  

- %preun common

- if [ $1 = 0 ]; then

-   if [ -f %{_infodir}/%{name}.info.gz ]; then

-     /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

-   fi

- fi

- 

- %post common

- if [ -f %{_infodir}/%{name}.info.gz ]; then

-   /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

- fi

- 

  %files -f supported_utils

  %exclude %{_bindir}/*.single

  %dir %{_libexecdir}/coreutils
@@ -255,6 +241,9 @@ 

  %license COPYING

  

  %changelog

+ * Thu Oct 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.30-6

+ - Drop install-info scriptlets

+ 

  * Thu Oct 11 2018 Kamil Dudka <kdudka@redhat.com> - 8.30-5

  - fix heap-based buffer overflow in vasnprintf() (CVE-2018-17942)

  

Those are not needed anymore.

Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org

Pull-Request has been closed by ignatenkobrain

5 years ago