Hello community, here is the log from the commit of package geotiff for openSUSE:Factory checked in at 2015-05-11 19:38:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/geotiff (Old) and /work/SRC/openSUSE:Factory/.geotiff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "geotiff" Changes: -------- --- /work/SRC/openSUSE:Factory/geotiff/geotiff.changes 2015-02-05 10:59:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.geotiff.new/geotiff.changes 2015-05-11 19:48:48.000000000 +0200 @@ -1,0 +2,6 @@ +Sat May 9 09:05:53 UTC 2015 - mplus...@suse.com + +- Do not build or ship static libraries and .la files +- Remove useless conditions + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ geotiff.spec ++++++ --- /var/tmp/diff_new_pack.ndo4hm/_old 2015-05-11 19:48:49.000000000 +0200 +++ /var/tmp/diff_new_pack.ndo4hm/_new 2015-05-11 19:48:49.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package geotiff # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -26,14 +26,12 @@ Source0: ftp://ftp.remotesensing.org/pub/%{name}/lib%{name}/lib%{name}-%{version}.tar.gz BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: graphviz BuildRequires: libjpeg-devel BuildRequires: libproj-devel BuildRequires: libtiff-devel -BuildRequires: zlib-devel -%if 0%{?suse_version} BuildRequires: pkg-config -BuildRequires: graphviz -%endif +BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -97,17 +95,13 @@ --with-jpeg \ --with-zip \ --with-pic \ + --enable-static=no \ --enable-debug=yes make %{?_smp_mflags} %install -%if 0%{?suse_version} make DESTDIR=%{buildroot} install %{?_smp_mflags} INSTALL="install -p" -%else -%makeinstall INSTALL="%{__install} -p" \ - includedir=%{buildroot}/%{_includedir}/lib%{name} -%endif # install pkgconfig file cat > libgeotiff.pc <<EOF @@ -128,6 +122,9 @@ echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv +# do not ship la files +find %{buildroot}%{_libdir} -name "*.la" -delete -print + %post -n lib%{name}2 -p /sbin/ldconfig %postun -n lib%{name}2 -p /sbin/ldconfig @@ -156,8 +153,6 @@ %dir %{_includedir}/lib%{name} %{_includedir}/lib%{name}/*.h %{_includedir}/lib%{name}/*.inc -%{_libdir}/lib%{name}.a -%{_libdir}/lib%{name}.la %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc