Hello community,

here is the log from the commit of package lv for openSUSE:Factory checked in 
at 2017-06-23 09:18:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lv (Old)
 and      /work/SRC/openSUSE:Factory/.lv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lv"

Fri Jun 23 09:18:32 2017 rev:18 rq:505685 version:4.51

Changes:
--------
--- /work/SRC/openSUSE:Factory/lv/lv.changes    2012-02-08 15:40:38.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.lv.new/lv.changes       2017-06-23 
09:18:56.425554984 +0200
@@ -1,0 +2,5 @@
+Wed Jun 21 15:37:28 UTC 2017 - [email protected]
+
+- Cleanup a bit with spec-cleaner, use parallel make/etc...
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lv.spec ++++++
--- /var/tmp/diff_new_pack.9dZ8tM/_old  2017-06-23 09:18:56.965478691 +0200
+++ /var/tmp/diff_new_pack.9dZ8tM/_new  2017-06-23 09:18:56.969478126 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lv
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,12 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           lv
-BuildRequires:  automake
-BuildRequires:  ncurses-devel
-Provides:       locale(ja;ko;zh)
 Version:        4.51
 Release:        0
+Summary:        Powerful, Multilingual File Viewer, Same User Interface as 
"Less"
+License:        GPL-2.0+
+Group:          Productivity/Text/Utilities
 Url:            http://www.ff.iij4u.or.jp/~nrt/lv/
 Source:         lv451.tar.bz2
 Patch0:         lv-add-lgrep-man-page.patch 
@@ -28,10 +29,9 @@
 Patch3:         lv-strip.patch
 Patch4:         missing-include.patch
 Patch5:         lv-splitted-libtinfo.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Summary:        Powerful, Multilingual File Viewer, Same User Interface as 
"Less"
-License:        GPL-2.0+
-Group:          Productivity/Text/Utilities
+BuildRequires:  automake
+BuildRequires:  ncurses-devel
+Provides:       locale(ja;ko;zh)
 
 %description
 Lv is a powerful, multilingual file viewer. Apparently, lv looks like
@@ -47,53 +47,34 @@
 
 Lv can recognize ANSI escape sequences for text decoration.
 
-
-
-Authors:
---------
-    NARITA Tomio <[email protected]>
-
 %prep
-%setup -n lv451
+%setup -q -n lv451
 %patch0 -p1 -b .add-lgrep-man-page
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%if %suse_version > 1210
 %patch5 -p1
-%endif
 
 %build
 pushd src
-  autoreconf -fi
-popd
-pushd build
-    CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing" \
-    CXXFLAGS="$RPM_OPT_FLAGS  -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing" \
-    ../src/configure --prefix=/usr \
-                    --mandir=%{_mandir} \
-                    --infodir=%{_infodir} \
-                    --sysconfdir=/etc
-    make 
+autoreconf -fvi
+CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing" \
+CXXFLAGS="%{optflags}  -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing" \
+%configure
+make %{?_smp_mflags}
 popd
 
 %install
-mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/usr/lib 
$RPM_BUILD_ROOT%{_mandir}/man1
-make -C build \
-     prefix=$RPM_BUILD_ROOT/usr \
-     mandir=$RPM_BUILD_ROOT%{_mandir} \
-     infodir=$RPM_BUILD_ROOT%{_infodir} \
-     sysconfdir=$RPM_BUILD_ROOT/etc \
-     install
-
-%clean
-#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf 
$RPM_BUILD_ROOT;
+cd src
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+make install bindir=%{buildroot}%{_bindir} libdir=%{buildroot}%{_libdir} 
mandir=%{buildroot}%{_mandir} INSTALL="install -p"
 
 %files
 %defattr(-,root,root)
 %doc GPL.txt README *.html hello* 
-%doc %{_mandir}/man1/*
-/usr/bin/*
-/usr/lib/lv
+%{_mandir}/man1/*
+%{_bindir}/*
+%{_libdir}/lv
 
 %changelog


Reply via email to