[libical/f21] fix typo in icaltime_days_in_year
Matthias Clasen
mclasen at fedoraproject.org
Tue Jan 13 00:28:59 UTC 2015
commit b4ae6c2e6fedbabe6a2d365c0e26fd838c185900
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Jan 12 18:55:40 2015 -0500
fix typo in icaltime_days_in_year
libical-1.0-ycaltime.patch | 12 ++++++++++++
libical.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/libical-1.0-ycaltime.patch b/libical-1.0-ycaltime.patch
new file mode 100644
index 0000000..10ce749
--- /dev/null
+++ b/libical-1.0-ycaltime.patch
@@ -0,0 +1,12 @@
+diff -up libical-1.0/src/libical/icaltime.c.ycaltime libical-1.0/src/libical/icaltime.c
+--- libical-1.0/src/libical/icaltime.c.ycaltime 2015-01-12 18:51:47.753599914 -0500
++++ libical-1.0/src/libical/icaltime.c 2015-01-12 18:51:56.111697783 -0500
+@@ -475,7 +475,7 @@ icaltime_is_leap_year (const int year)
+
+
+ int
+-ycaltime_days_in_year (const int year)
++icaltime_days_in_year (const int year)
+ {
+ if (icaltime_is_leap_year (year))
+ return 366;
diff --git a/libical.spec b/libical.spec
index 1aa6702..6558d98 100644
--- a/libical.spec
+++ b/libical.spec
@@ -1,13 +1,14 @@
Summary: Reference implementation of the iCalendar data type and serialization format
Name: libical
Version: 1.0
-Release: 8%{?dist}
+Release: 9%{?dist}
License: LGPLv2 or MPLv1.1
URL: http://freeassociation.sourceforge.net/
Source: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz
Patch0: libical-1.0-r1150.patch
Patch1: libical-1.0-r1156.patch
Patch2: libical-1.0-avoid-putenv.patch
+Patch3: libical-1.0-ycaltime.patch
BuildRequires: bison, byacc, flex
BuildRequires: cmake
@@ -30,6 +31,7 @@ applications that use libical.
%patch0 -p1 -b .r1150
%patch1 -p1 -b .r1156
%patch2 -p1 -b .avoid-putenv
+%patch3 -p1 -b .ycaltime
%build
mkdir -p %{_target_platform}
@@ -65,6 +67,9 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
%{_includedir}/libical/
%changelog
+* Mon Jan 12 2015 Matthias Clasen <mclasen at redhat.com> - 1.0-9
+- Fix a stupid typo in the definition of icaltime_days_in_year
+
* Mon Dec 22 2014 Milan Crha <mcrha at redhat.com> - 1.0-8
- Add patch for RH bug #1176204 (Avoid putenv() in libical)
More information about the scm-commits
mailing list