|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
Summary: A GNU program for formatting C code
|
|
|
|
|
Name: indent
|
|
|
|
|
Version: 2.2.11
|
|
|
|
|
Release: 24%{?dist}
|
|
|
|
|
Release: 25%{?dist}
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
URL: http://www.gnu.org/software/%{name}/
|
|
|
|
@ -50,8 +50,6 @@ BuildRequires: gperf
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: texinfo
|
|
|
|
|
BuildRequires: texi2html
|
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS NEWS README ChangeLog*
|
|
|
|
@ -112,6 +102,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|