Hello community,

here is the log from the commit of package openexr for openSUSE:Factory checked 
in at 2017-07-17 09:02:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openexr (Old)
 and      /work/SRC/openSUSE:Factory/.openexr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openexr"

Mon Jul 17 09:02:16 2017 rev:26 rq:509954 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/openexr/openexr.changes  2015-01-30 
23:57:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.openexr.new/openexr.changes     2017-07-17 
09:02:17.318885371 +0200
@@ -1,0 +2,5 @@
+Wed Jul 12 09:22:22 UTC 2017 - tchva...@suse.com
+
+- Cleanup a bit with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openexr.spec ++++++
--- /var/tmp/diff_new_pack.XujK3h/_old  2017-07-17 09:02:18.106774423 +0200
+++ /var/tmp/diff_new_pack.XujK3h/_new  2017-07-17 09:02:18.110773860 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openexr
 #
-# Copyright (c) 2015 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
@@ -17,11 +17,9 @@
 
 
 %global so_suffix -2_2-22
-
 # tests should run at least during local build
 # but do expect a HUGE number of memory, so beware
 %bcond_with tests
-
 Name:           openexr
 Version:        2.2.0
 Release:        0
@@ -29,20 +27,19 @@
 License:        BSD-3-Clause
 Group:          Productivity/Graphics/Other
 Url:            http://www.openexr.com/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source0:        
http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
+Source1:        
http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
+Source2:        baselibs.conf
+Source3:        openexr.keyring
 BuildRequires:  automake
 BuildRequires:  fltk-devel
 BuildRequires:  freeglut-devel
 BuildRequires:  gcc-c++
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(IlmBase) = %{version}
 BuildRequires:  pkgconfig(zlib)
 Obsoletes:      OpenEXR <= 1.6.1
 Provides:       OpenEXR = %{version}
-Source0:        
http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
-Source1:        
http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
-Source2:        baselibs.conf
-Source3:        openexr.keyring
 
 %description
 OpenEXR is a high dynamic-range (HDR) image file format developed by
@@ -68,11 +65,9 @@
 This package contains shared library libIlmImf
 
 %post -n libIlmImf%{so_suffix} -p /sbin/ldconfig
-
 %postun -n libIlmImf%{so_suffix} -p /sbin/ldconfig
 
 %files -n libIlmImf%{so_suffix}
-%defattr(-,root,root)
 %doc COPYING
 %{_libdir}/libIlmImf-*.so.*
 
@@ -87,26 +82,24 @@
 This package contains shared library libIlmImfUtil
 
 %post -n libIlmImfUtil%{so_suffix} -p /sbin/ldconfig
-
 %postun -n libIlmImfUtil%{so_suffix} -p /sbin/ldconfig
 
 %files -n libIlmImfUtil%{so_suffix}
-%defattr(-,root,root)
 %doc COPYING
 %{_libdir}/libIlmImfUtil-*.so.*
 
 %package devel
 Summary:        Library to Handle EXR Pictures (16-bit floating-point format)
 Group:          Development/Libraries/C and C++
+Requires:       libIlmImf%{so_suffix} = %{version}
+Requires:       libIlmImfUtil%{so_suffix} = %{version}
+Requires:       libilmbase-devel
+Requires:       pkgconfig
+Requires:       pkgconfig(zlib)
 Obsoletes:      OpenEXR-devel <= 1.6.1
 Provides:       OpenEXR-devel = %{version}
 Obsoletes:      libopenexr-devel <= 1.7.0
 Provides:       libopenexr-devel = %{version}
-Requires:       libIlmImf%{so_suffix} = %{version}
-Requires:       libIlmImfUtil%{so_suffix} = %{version}
-Requires:       libilmbase-devel
-Requires:       pkg-config
-Requires:       zlib-devel
 
 %description devel
 OpenEXR is a high dynamic-range (HDR) image file format developed by
@@ -136,35 +129,32 @@
 fi
 
 # remove a non-linux file
-%{__rm} README.win32 README.OSX
+rm README.win32 README.OSX
 
 %build
-#autoreconf --force --install --include=config
-#
 export PTHREAD_LIBS="-lpthread"
-%{configure} \
+%configure \
    --disable-static \
    --with-pic \
    --enable-large-stack \
    --enable-imfexamples \
    --enable-imffuzztest \
    --enable-imfhugetest
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
-%{makeinstall}
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
 install -d -m 0755 %{buildroot}%{_defaultdocdir}/
 mv %{buildroot}%{_datadir}/doc/OpenEXR-2* 
%{buildroot}%{_defaultdocdir}/%{name}-%{version}
 
 %check
 %if %{with tests}
-%{__make} check
+make %{?_smp_mflags} check
 %endif
 
 %files
-%defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING LICENSE NEWS README*
 %{_bindir}/exrenvmap
 %{_bindir}/exrheader
@@ -175,7 +165,6 @@
 %{_bindir}/exrmultipart
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/OpenEXR
 %{_libdir}/libIlmImf.so
 %{_libdir}/libIlmImfUtil.so
@@ -183,7 +172,6 @@
 %{_datadir}/aclocal/openexr.m4
 
 %files doc
-%defattr(-,root,root)
 %{_docdir}/%{name}-%{version}
 
 %changelog




Reply via email to