Remove install-info from scriptlets

epel9
Petr Písař 7 years ago
parent 0d643f9f3f
commit 39438ba484

@ -2,7 +2,7 @@
Summary: A GNU program for formatting C code Summary: A GNU program for formatting C code
Name: indent Name: indent
Version: 2.2.11 Version: 2.2.11
Release: 24%{?dist} Release: 25%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Text Group: Applications/Text
URL: http://www.gnu.org/software/%{name}/ URL: http://www.gnu.org/software/%{name}/
@ -50,8 +50,6 @@ BuildRequires: gperf
BuildRequires: make BuildRequires: make
BuildRequires: texinfo BuildRequires: texinfo
BuildRequires: texi2html BuildRequires: texi2html
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description %description
Indent is a GNU program for beautifying C code, so that it is easier to Indent is a GNU program for beautifying C code, so that it is easier to
@ -95,14 +93,6 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir $RPM_BUILD_ROOT/%{_bindir}/texinfo2man \
%check %check
make -C regression make -C regression
%post
/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." >/dev/null 2>&1 || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." >/dev/null 2>&1 || :
fi
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%doc AUTHORS NEWS README ChangeLog* %doc AUTHORS NEWS README ChangeLog*
@ -112,6 +102,9 @@ fi
%changelog %changelog
* Mon Jun 18 2018 Petr Pisar <ppisar@redhat.com> - 2.2.11-25
- Remove install-info from scriptlets
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-24 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save