Add upstream patch to allow DATE-only COMPLETED property

This commit is contained in:
Milan Crha 2018-02-27 15:30:21 +01:00
parent 63a7761ea0
commit 62ca951e51
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 19fd55456d04a53e622872e2d0e3c2402bce85e4 Mon Sep 17 00:00:00 2001
From: Allen Winter <allen.winter@kdab.com>
Date: Mon, 19 Feb 2018 11:43:20 -0500
Subject: [PATCH] design-data/properties.csv - allow COMPLETED property to be a
date or datetime
---
design-data/properties.csv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/design-data/properties.csv b/design-data/properties.csv
index cb0eeb36..7e36ded7 100644
--- a/design-data/properties.csv
+++ b/design-data/properties.csv
@@ -17,7 +17,7 @@
"RESOURCES","71","TEXT","TEXT",is_multivalued
"STATUS","76","STATUS","STATUS"
"SUMMARY","78","TEXT","TEXT"
-"COMPLETED","16","DATE-TIME","DATE-TIME"
+"COMPLETED","16","DATE-TIME-DATE","DATE-TIME"
"DTEND","30","DATE-TIME-DATE","DATE-TIME"
"DUE","33","DATE-TIME-DATE","DATE-TIME"
"DTSTART","32","DATE-TIME-DATE","DATE-TIME"
--
2.14.3

View File

@ -1,11 +1,13 @@
Summary: Reference implementation of the iCalendar data type and serialization format
Name: libical
Version: 3.0.2
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2 or MPLv2.0
URL: http://freeassociation.sourceforge.net/
Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch01: libical-3.0.2-COMPLETED-as-DATE-only.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
@ -70,6 +72,7 @@ Development files needed for building things which link against %{name}-glib.
%prep
%setup -q
%patch01 -p1 -b .COMPLETED-as-DATE-only
%build
mkdir -p %{_target_platform}
@ -129,6 +132,9 @@ make test ARGS="-V" -C %{_target_platform}
%{_datadir}/gtk-doc/html/%{name}-glib
%changelog
* Tue Feb 27 2018 Milan Crha <mcrha@redhat.com> - 3.0.2-2
- Add upstream patch to allow DATE-only COMPLETED property
* Mon Feb 19 2018 Milan Crha <mcrha@redhat.com> - 3.0.2-1
- Update to 3.0.2