Hello community,

here is the log from the commit of package libpano for openSUSE:Factory checked 
in at 2012-01-10 14:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpano (Old)
 and      /work/SRC/openSUSE:Factory/.libpano.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpano/libpano.changes  2011-11-21 
15:47:30.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libpano.new/libpano.changes     2012-01-10 
14:51:01.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Jan 10 02:17:36 UTC 2012 - [email protected]
+
+- Add explicit BuildRequires on libjpeg-devel and zlib-devel 
+- libpano-devel should not require libtiff-devel, libjpeg-devel
+  or libtiff-devel as they are not needed for building or linking.
+  This may break packages with wrong buildrequires.
+- Remove "la" files
+- run spec cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libpano.spec ++++++
--- /var/tmp/diff_new_pack.5aJPYG/_old  2012-01-10 14:51:07.000000000 +0100
+++ /var/tmp/diff_new_pack.5aJPYG/_new  2012-01-10 14:51:07.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpano
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,24 @@
 #
 
 
+%define _name libpano13
 
 Name:           libpano
-%define _name libpano13
-BuildRequires:  java-devel libpng-devel libtiff-devel libtool
-License:        GPL-2.0+
-Group:          Development/Libraries/C and C++
-Summary:        Panorama Tools Back-End Library
 Version:        2.9.18
 Release:        1
+License:        GPL-2.0+
+Summary:        Panorama Tools Back-End Library
+Url:            http://panotools.sourceforge.net/
+Group:          Development/Libraries/C and C++
 Source:         %{_name}-%{version}.tar.bz2
 # 
https://sourceforge.net/tracker/?func=detail&aid=2833227&group_id=96188&atid=613956
-Patch:          libpano-implicit-decl.patch
-Url:            http://panotools.sourceforge.net/
+Patch0:         libpano-implicit-decl.patch
+BuildRequires:  java-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  libtool
+BuildRequires:  libjpeg-devel
+BuildRequires:  zlib-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -58,26 +63,30 @@
 License:        GPL-2.0+
 Summary:        Panorama Tools Back-End Library - files mandatory for 
development
 Group:          Development/Libraries/C and C++
-Requires:       libpano13-2 = %{version} libpng-devel libtiff-devel 
libjpeg-devel
+Requires:       libpano13-2 = %{version}
+Requires:       glibc-devel
 
 %description devel
 Development files for library for working with panoramas.
 
 %prep
 %setup -q -n %{_name}-%{version}
-%patch
+%patch0
 
 %build
 autoreconf -f -i
 %configure\
        --with-java=%{java_home}
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
+%make_install
+#Axe Libs.private from .pc files, which do not behave as expected
+sed -i -e '/^Libs.private/d' %{buildroot}%{_libdir}/pkgconfig/libpano13.pc
+find %{buildroot} -type f -name "*.la" -print -delete
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post -n libpano13-2 -p /sbin/ldconfig
 
@@ -97,7 +106,6 @@
 %defattr(-,root,root)
 %{_includedir}/pano13
 %{_libdir}/libpano13.so
-%{_libdir}/libpano13.la
 %{_libdir}/pkgconfig/libpano13.pc
 
 %changelog

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

Reply via email to