Hello community,

here is the log from the commit of package flex for openSUSE:Factory checked in 
at 2016-07-18 21:16:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flex (Old)
 and      /work/SRC/openSUSE:Factory/.flex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flex"

Changes:
--------
--- /work/SRC/openSUSE:Factory/flex/flex.changes        2016-05-12 
09:32:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes   2016-07-18 
21:16:49.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jul 14 09:00:23 UTC 2016 - [email protected]
+
+- Small spec file cleanup
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ flex.spec ++++++
--- /var/tmp/diff_new_pack.WSX4ox/_old  2016-07-18 21:16:51.000000000 +0200
+++ /var/tmp/diff_new_pack.WSX4ox/_new  2016-07-18 21:16:51.000000000 +0200
@@ -29,6 +29,7 @@
 Source2:        README.SUSE
 Source3:        baselibs.conf
 Patch1:         flex-2.6.1-fPIC.patch
+BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -36,7 +37,8 @@
 BuildRequires:  libtool
 BuildRequires:  makeinfo
 Requires:       m4
-PreReq:         %{install_info_prereq}
+Requires(pre):  %{install_info_prereq}
+Requires(post):  %{install_info_prereq}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -48,7 +50,7 @@
 %patch1 -p1
 
 %build
-autoreconf -fi
+autoreconf -fiv
 %configure \
     --docdir=%{_docdir}/%{name} \
     --disable-shared
@@ -60,32 +62,31 @@
 %endif
 
 %install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
-install %{SOURCE1}  %{buildroot}/%{_bindir}/lex
-ln -s flex.1.gz %{buildroot}/%{_mandir}/man1/lex.1.gz
-cp %{SOURCE2} %{buildroot}/%{_docdir}/%{name}
+%make_install
+install -D -p -m 0755 %{SOURCE1}  %{buildroot}/%{_bindir}/lex
+install -D -p -m 0644 %{SOURCE2}  %{buildroot}/%{_docdir}/flex/README.SUSE
+ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man}
 
-find %{buildroot} -name *.la -delete
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %find_lang %{name}
 
-%files -f %{name}.lang
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
 
+%preun
+%install_info_delete --info-dir=%{_infodir} 
%%{_infodir}/%{name}.info%{ext_info}
+
+%files -f %{name}.lang
 %defattr(-,root,root)
 %{_bindir}/flex
 %{_bindir}/flex++
 %{_bindir}/lex
 %{_includedir}/FlexLexer.h
 %{_libdir}/libfl.a
-%{_mandir}/man1/flex.1.gz
-%{_mandir}/man1/lex.1.gz
+%{_mandir}/man1/flex.1%{ext_man}
+%{_mandir}/man1/lex.1%{ext_man}
 %{_infodir}/flex*
 %{_docdir}/%{name}
 
-%post
-%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-
-%preun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-
 %changelog


Reply via email to