|
|
|
@ -13,7 +13,6 @@ Patch7: indent-2.2.9-man.patch
|
|
|
|
|
# <https://lists.gnu.org/archive/html/bug-indent/2011-08/msg00000.html>
|
|
|
|
|
Patch8: indent-2.2.11-Do-not-split-decimal-float-suffix-from-constant.patch
|
|
|
|
|
BuildRequires: texinfo texi2html
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
|
@ -37,7 +36,6 @@ you want a program to format your code.
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir $RPM_BUILD_ROOT/%{_bindir}/texinfo2man \
|
|
|
|
|
$RPM_BUILD_ROOT/usr/doc/indent/indent.html
|
|
|
|
@ -45,12 +43,7 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir $RPM_BUILD_ROOT/%{_bindir}/texinfo2man \
|
|
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
echo ====================TESTING=========================
|
|
|
|
|
make -C regression
|
|
|
|
|
echo ====================TESTING END=====================
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." >/dev/null 2>&1 || :
|
|
|
|
@ -61,7 +54,6 @@ if [ "$1" = 0 ]; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS COPYING NEWS README ChangeLog*
|
|
|
|
|
%{_bindir}/indent
|
|
|
|
|
%{_mandir}/man1/indent.*
|
|
|
|
@ -71,6 +63,7 @@ fi
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 25 2011 Petr Pisar <ppisar@redhat.com> - 2.2.11-4
|
|
|
|
|
- Fix decimal float constant suffixes (bug #733051)
|
|
|
|
|
- Remove uneeded spec code
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.11-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|