SHA256
1
0
forked from pool/libopenraw

Accepting request 972650 from home:dimstar:Factory

- Rename libopenraw1 subpackage to libopenraw9, making the package
  name the actual library provided.
- Make libopenraw9 conflict with libopenraw1 >= 0.3 to ease the
  upgrade path from the wrongly named package.

OBS-URL: https://build.opensuse.org/request/show/972650
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libopenraw?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2022-04-27 12:35:58 +00:00 committed by Git OBS Bridge
parent d015f98207
commit 3e3bc12dac
3 changed files with 18 additions and 8 deletions

View File

@ -1,4 +1,4 @@
libopenraw1
libopenraw9
gdk-pixbuf-loader-libopenraw
requires "gdk-pixbuf-query-loaders-<targettype>"
supplements "packageand(libopenraw1-<targettype>:gdk-pixbuf-<targettype>)"

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 25 14:48:28 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Rename libopenraw1 subpackage to libopenraw9, making the package
name the actual library provided.
- Make libopenraw9 conflict with libopenraw1 >= 0.3 to ease the
upgrade path from the wrongly named package.
-------------------------------------------------------------------
Wed Apr 20 06:42:43 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -48,17 +48,19 @@ BuildRequires: boost-devel >= 1.60.0
%description
libopenraw is a library that aim at decoding digital camera RAW files.
%package -n libopenraw1
%package -n libopenraw9
Summary: A library to decode digital camera RAW files
Group: Development/Libraries/C and C++
# libopenraw.so.0, version 0.3.1, was wrongly packaged in libopenraw1
Conflicts: libopenraw1 >= 0.3
%description -n libopenraw1
%description -n libopenraw9
libopenraw is a library that aim at decoding digital camera RAW files.
%package -n gdk-pixbuf-loader-libopenraw
Summary: A library to decode digital camera RAW files -- gdk-pixbuf loader
Group: Development/Libraries/C and C++
Supplements: packageand(libopenraw1:gdk-pixbuf)
Supplements: packageand(libopenraw9:gdk-pixbuf)
%{gdk_pixbuf_loader_requires}
%description -n gdk-pixbuf-loader-libopenraw
@ -71,7 +73,7 @@ Summary: A library to decode digital camera RAW files
Group: Development/Libraries/C and C++
#include gdk-pixbuf/gdk-pixbuf.h
Requires: gdk-pixbuf-devel
Requires: libopenraw1 = %{version}
Requires: libopenraw9 = %{version}
%description -n libopenraw-devel
libopenraw is a library that aim at decoding digital camera RAW files.
@ -104,8 +106,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check
%post -n libopenraw1 -p /sbin/ldconfig
%postun -n libopenraw1 -p /sbin/ldconfig
%post -n libopenraw9 -p /sbin/ldconfig
%postun -n libopenraw9 -p /sbin/ldconfig
%post -n gdk-pixbuf-loader-libopenraw
%{gdk_pixbuf_loader_post}
@ -113,7 +115,7 @@ make %{?_smp_mflags} check
%postun -n gdk-pixbuf-loader-libopenraw
%{gdk_pixbuf_loader_postun}
%files -n libopenraw1
%files -n libopenraw9
%license COPYING
%doc README TODO ChangeLog
%{_libdir}/*.so.*