Hello community,

here is the log from the commit of package glpk for openSUSE:Factory checked in 
at 2012-12-07 14:09:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glpk (Old)
 and      /work/SRC/openSUSE:Factory/.glpk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glpk", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glpk/glpk.changes        2012-05-07 
22:47:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glpk.new/glpk.changes   2012-12-07 
14:09:14.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Dec  6 10:21:05 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections from specfile
+- Parallel build with %_smp_mflags
+- Avoid manual library dependencies; make doc subpackage noarch
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ glpk.spec ++++++
--- /var/tmp/diff_new_pack.38oCZZ/_old  2012-12-07 14:09:14.000000000 +0100
+++ /var/tmp/diff_new_pack.38oCZZ/_new  2012-12-07 14:09:14.000000000 +0100
@@ -19,13 +19,13 @@
 Name:           glpk
 Version:        4.47
 Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        GNU Linear Programming Kit
 License:        GPL-3.0
 Group:          Development/Libraries/C and C++
 Url:            http://www.gnu.org/software/glpk/glpk.html
+
 Source:         %{name}-%{version}.tar.bz2
-Requires:       libglpk0 >= %{version}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ghostscript
 BuildRequires:  texlive
 
@@ -65,7 +65,9 @@
 %package doc
 Summary:        GNU Linear Programming Kit
 Group:          Development/Libraries/C and C++
-Requires:       libglpk0 = %{version}
+%if 0%{?suse_version} >= 1120 || 0%{?fedora_version}
+BuildArch:      noarch
+%endif
 
 %description doc
 The GLPK package is intended for solving large-scale linear
@@ -80,10 +82,10 @@
 
 %build
 %configure --enable-static=no
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
+make install DESTDIR="%buildroot"
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
 mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
 cp examples/*.{mod,c,dat,mps,lp} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
@@ -93,9 +95,6 @@
 cp doc/{*.txt,*.pdf} $RPM_BUILD_ROOT%{_docdir}/%{name}/doc
 cp {AUTHORS,ChangeLog,COPYING,NEWS,README} $RPM_BUILD_ROOT%{_docdir}/%{name}
 
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
 %post -n libglpk0 -p /sbin/ldconfig
 
 %postun -n libglpk0 -p /sbin/ldconfig
@@ -122,9 +121,7 @@
 %files doc
 %defattr(-,root,root)
 %dir %{_docdir}/%{name}
-%dir %{_docdir}/%{name}/doc
-%doc %{_docdir}/%{name}/doc/*
-%dir %{_docdir}/%{name}/examples
-%doc %{_docdir}/%{name}/examples/*
+%{_docdir}/%{name}/doc
+%{_docdir}/%{name}/examples
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to