|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: A GNU program for formatting C code.
|
|
|
|
|
Name: indent
|
|
|
|
|
Version: 2.2.9
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
License: GPL
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
URL: http://www.gnu.org/software/indent/
|
|
|
|
@ -58,11 +58,11 @@ make -C regression
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code."
|
|
|
|
|
/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." || :
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code."
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
@ -73,6 +73,10 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 2.2.9-15
|
|
|
|
|
- Ville Skytta: patch for non-failing %%post, %%preun
|
|
|
|
|
- Resolves: #223703
|
|
|
|
|
|
|
|
|
|
* Mon Jul 17 2006 Karsten Hopp <karsten@redhat.de> 2.2.9-14
|
|
|
|
|
- add buildrequires makeinfo
|
|
|
|
|
|
|
|
|
|