summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/libkdcraw
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/libraries/libkdcraw')
-rw-r--r--redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec
index 70f8c67f7..8b792af4a 100644
--- a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec
+++ b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec
@@ -94,10 +94,8 @@ Summary: Raw picture decoding C++ library (runtime) [Trinity]
Group: System/Libraries
Requires: trinity-libkdcraw-common = %{?epoch:%{epoch}:}%{version}-%{release}
-%if "%{libkdcraw}" != "libkdcraw"
-Obsoletes: trinity-libkdcraw < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides: trinity-libkdcraw = %{?epoch:%{epoch}:}%{version}-%{release}
-%endif
+Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n trinity-%{libkdcraw}4
C++ interface around dcraw binary program used to decode RAW
@@ -152,10 +150,8 @@ Summary: RAW picture decoding C++ library (development) [Trinity]
Group: Development/Libraries/Other
Requires: trinity-%{libkdcraw}4 = %{?epoch:%{epoch}:}%{version}-%{release}
-%if "%{libkdcraw}" != "libkdcraw"
-Obsoletes: trinity-libkdcraw-devel < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides: trinity-libkdcraw-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-%endif
+Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n trinity-%{libkdcraw}-devel
Libkdcraw is a C++ interface around dcraw binary program used to