Accepting request 115211 from devel:libraries:c_c++

- disable the test at all, as running them in OBS seems not to be
  reliable 

- Remove redundant tags/sections per specfile guideline suggestions

OBS-URL: https://build.opensuse.org/request/show/115211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openexr?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2012-05-03 08:59:07 +00:00 committed by Git OBS Bridge
parent 0fdd61a974
commit db0dc41956
2 changed files with 24 additions and 19 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Apr 24 13:26:54 UTC 2012 - mvyskocil@suse.cz
- disable the test at all, as running them in OBS seems not to be
reliable
-------------------------------------------------------------------
Sun Jan 29 17:50:27 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
-------------------------------------------------------------------
Mon Oct 31 14:28:37 UTC 2011 - mvyskocil@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package openexr
#
# 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
@ -15,21 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: openexr
Summary: Utilities for work with HDR images in OpenEXR format
Version: 1.7.0
Release: 8
License: BSD-3-Clause ; GPL-2.0+
Group: Productivity/Graphics/Other
Version: 1.7.0
Release: 0
Url: http://www.openexr.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libilmbase-devel
BuildRequires: fltk-devel
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
BuildRequires: libilmbase-devel
# bug437293
%ifarch ppc64
Obsoletes: OpenEXR-64bit
@ -58,9 +56,8 @@ contains a set of utilities to work with this format.
* exrmultiview, combine two or more images into one multi-view
%package -n libIlmImf6
License: BSD-3-Clause ; GPL-2.0+
Group: Development/Libraries/C and C++
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
Group: Development/Libraries/C and C++
# provide also the most expected symbol
Provides: libopenexr6 = %{version}
@ -71,15 +68,14 @@ Industrial Light & Magic for use in computer imaging applications.
This package contains libIlmImf.so.6
%package -n libopenexr-devel
License: BSD-3-Clause ; GPL-2.0+
Group: Development/Libraries/C and C++
Summary: Library to Handle EXR Pictures (16-bit floating-point format)
Group: Development/Libraries/C and C++
Obsoletes: OpenEXR-devel <= 1.6.1
Provides: OpenEXR-devel = %{version}
Requires: libopenexr6 = %{version}
Requires: zlib-devel
Requires: libilmbase-devel
Requires: libopenexr6 = %{version}
Requires: pkg-config
Requires: zlib-devel
%description -n libopenexr-devel
OpenEXR is a high dynamic-range (HDR) image file format developed by
@ -88,9 +84,8 @@ Industrial Light & Magic for use in computer imaging applications.
This package contains header files.
%package doc
License: BSD-3-Clause ; GPL-2.0+
Group: Development/Libraries/C and C++
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
Group: Development/Libraries/C and C++
Obsoletes: OpenEXR-doc <= 1.6.1
Provides: OpenEXR-doc = %{version}
@ -101,7 +96,7 @@ Industrial Light & Magic for use in computer imaging applications.
This package contains a documentation
%prep
%setup -q -n %{name}-%{version}
%setup -q
%patch0 -b .sav
%patch1 -b .sav
%patch2 -p1 -b .sav
@ -125,15 +120,14 @@ export PTHREAD_LIBS="-lpthread"
%{__rm} -f %{buildroot}%{_libdir}/*.la
%check
%{__make} check
#XXX: it seems running tests in BS is not very reliable, so
# so let disable it
# % {__make} check
%post -n libIlmImf6 -p /sbin/ldconfig
%postun -n libIlmImf6 -p /sbin/ldconfig
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README*