Autobuild autoformatter for 73835

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/less?expand=0&rev=28
This commit is contained in:
Sascha Peilicke 2011-06-17 08:26:34 +00:00 committed by Git OBS Bridge
parent 8b0fdd9d73
commit eda5fd602b

View File

@ -45,7 +45,6 @@ Patch27: %{name}-429-save_line_position.patch
Patch28: %{name}-429-more.patch Patch28: %{name}-429-more.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
less is a text file browser and pager similar to more. It allows less is a text file browser and pager similar to more. It allows
backward as well as forward movement within a file. Also, less does not backward as well as forward movement within a file. Also, less does not
@ -75,7 +74,6 @@ chmod u+w *
# #
cp %{S:1} %{S:2} %{S:3} %{S:4} . cp %{S:1} %{S:2} %{S:3} %{S:4} .
%build %build
autoreconf -fiv autoreconf -fiv
%configure --with-pic %configure --with-pic
@ -87,7 +85,6 @@ make mkhelp
# build less # build less
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=$RPM_BUILD_ROOT/ install make DESTDIR=$RPM_BUILD_ROOT/ install
# #
@ -100,11 +97,9 @@ $RPM_BUILD_ROOT%{_bindir}/lesskey -o $RPM_BUILD_ROOT%{_sysconfdir}/lesskey.bin $
install -m 755 lessopen.sh lessclose.sh $RPM_BUILD_ROOT/%{_bindir} install -m 755 lessopen.sh lessclose.sh $RPM_BUILD_ROOT/%{_bindir}
%__chmod -x LICENSE COPYING NEWS README.SuSE %__chmod -x LICENSE COPYING NEWS README.SuSE
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc LICENSE COPYING NEWS README.SuSE %doc LICENSE COPYING NEWS README.SuSE
@ -112,6 +107,4 @@ rm -rf $RPM_BUILD_ROOT
%config %{_sysconfdir}/* %config %{_sysconfdir}/*
%{_bindir}/* %{_bindir}/*
%changelog %changelog