mirror of
https://abf.rosa.ru/djam/colord.git
synced 2025-02-24 06:22:57 +00:00
Add explicit require on liblcms2_2 to avoid alternative from libreoffice
This commit is contained in:
parent
ce432a6df4
commit
e8b11bc519
1 changed files with 12 additions and 1 deletions
13
colord.spec
13
colord.spec
|
@ -7,7 +7,7 @@
|
||||||
Summary: Color daemon
|
Summary: Color daemon
|
||||||
Name: colord
|
Name: colord
|
||||||
Version: 0.1.23
|
Version: 0.1.23
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System/X11
|
Group: System/X11
|
||||||
URL: http://www.freedesktop.org/software/colord/
|
URL: http://www.freedesktop.org/software/colord/
|
||||||
|
@ -31,6 +31,13 @@ Requires(pre,postun): rpm-helper
|
||||||
Requires: shared-color-profiles
|
Requires: shared-color-profiles
|
||||||
Requires: systemd-units
|
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
|
%description
|
||||||
colord is a low level system activated daemon that maps color devices
|
colord is a low level system activated daemon that maps color devices
|
||||||
to color profiles in the system context.
|
to color profiles in the system context.
|
||||||
|
@ -38,6 +45,10 @@ to color profiles in the system context.
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Library package for %{name}
|
Summary: Library package for %{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
%if %{mdvver} == 201210
|
||||||
|
%define lcmslibname %mklibname lcms2_ 2
|
||||||
|
Requires: %{lcmslibname}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
Main library for %{name}.
|
Main library for %{name}.
|
||||||
|
|
Loading…
Add table
Reference in a new issue