diff options
Diffstat (limited to 'redhat/dependencies/libcaldav/libcaldav-14.0.0.spec')
-rw-r--r-- | redhat/dependencies/libcaldav/libcaldav-14.0.0.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec index fab0b738d..9cb2a8c0a 100644 --- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec +++ b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec @@ -66,15 +66,16 @@ BuildRequires: gtk2-devel # CURL support %if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} -BuildRequires: libcurl-devel +%define libcurl_devel libcurl-devel %else %if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}curl-devel +%define libcurl_devel %{_lib}curl-devel %else # Specific CURL version for TDE on RHEL 5 (and older) -#BuildRequires: trinity-libcurl-devel +#define libcurl_devel trinity-libcurl-devel %endif %endif +%{?libcurl_devel:BuildRequires: %{libcurl_devel}} %description libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). @@ -114,6 +115,8 @@ easy to integrate CalDAV support into any PIM application. Summary: A client library that adds support for the CalDAV protocol (Development Files) Group: Development/Libraries/C and C++ Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release} +%{?libcurl_devel:Requires: %{libcurl_devel}} +Requires: glib2-devel Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release} Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} |