Add explicit require on liblcms2_2 to avoid alternative from libreoffice

This commit is contained in:
Denis Silakov 2013-04-22 14:54:53 +04:00
parent ce432a6df4
commit e8b11bc519

View file

@ -7,7 +7,7 @@
Summary: Color daemon
Name: colord
Version: 0.1.23
Release: 2
Release: 3
License: GPLv2+ and LGPLv2+
Group: System/X11
URL: http://www.freedesktop.org/software/colord/
@ -31,6 +31,13 @@ Requires(pre,postun): rpm-helper
Requires: shared-color-profiles
Requires: systemd-units
# A hack to require lcms2 package directly
# since in rosa2012.1 in main/release we have libreoffice providing liblcms2.so.2
%if %{mdvver} == 201210
%define lcmslibname %mklibname lcms2_ 2
Requires: %{lcmslibname}
%endif
%description
colord is a low level system activated daemon that maps color devices
to color profiles in the system context.
@ -38,6 +45,10 @@ to color profiles in the system context.
%package -n %{libname}
Summary: Library package for %{name}
Group: System/Libraries
%if %{mdvver} == 201210
%define lcmslibname %mklibname lcms2_ 2
Requires: %{lcmslibname}
%endif
%description -n %{libname}
Main library for %{name}.