Autobuild autoformatter for 73835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/less?expand=0&rev=28
This commit is contained in:
parent
8b0fdd9d73
commit
eda5fd602b
@ -45,7 +45,6 @@ Patch27: %{name}-429-save_line_position.patch
|
||||
Patch28: %{name}-429-more.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
|
||||
%description
|
||||
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
|
||||
@ -75,7 +74,6 @@ chmod u+w *
|
||||
#
|
||||
cp %{S:1} %{S:2} %{S:3} %{S:4} .
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure --with-pic
|
||||
@ -87,7 +85,6 @@ make mkhelp
|
||||
# build less
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%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}
|
||||
%__chmod -x LICENSE COPYING NEWS README.SuSE
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc LICENSE COPYING NEWS README.SuSE
|
||||
@ -112,6 +107,4 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config %{_sysconfdir}/*
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user