epel9
Rex Dieter 9 years ago
parent fcc7a93fc5
commit bde7e81d05

2
.gitignore vendored

@ -1 +1 @@
/kholidays-15.12.1.tar.xz
/kholidays-15.12.2.tar.xz

@ -1,12 +1,12 @@
%global framework kholidays
Name: kf5-%{framework}
Version: 15.12.1
Release: 1%{?dist}
Summary: The KHolidays Library
Name: kf5-%{framework}
Version: 15.12.2
Release: 1%{?dist}
Summary: The KHolidays Library
License: LGPLv2+ and GPLv3+
URL: https://projects.kde.org/%{framework}
License: LGPLv2+ and GPLv3+
URL: https://projects.kde.org/%{framework}
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
@ -14,10 +14,7 @@ URL: https://projects.kde.org/%{framework}
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{framework}-%{version}.tar.xz
## upstreamable patches
Patch1: kholidays-15.12.1-gcc6.patch
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{framework}-%{version}.tar.xz
BuildRequires: kf5-rpm-macros
BuildRequires: extra-cmake-modules
@ -74,6 +71,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Sun Feb 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
- 15.12.2
* Thu Feb 11 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.1-1
- 15.12.1
- fix gcc6 FTBFS

@ -1,11 +0,0 @@
diff -up kholidays-15.12.1/src/sunriseset.cpp.gcc6 kholidays-15.12.1/src/sunriseset.cpp
--- kholidays-15.12.1/src/sunriseset.cpp.gcc6 2015-11-21 18:49:24.000000000 -0600
+++ kholidays-15.12.1/src/sunriseset.cpp 2016-02-11 08:31:39.554683739 -0600
@@ -23,6 +23,7 @@
*/
#include "sunriseset.h"
+#include <math.h>
#include <cmath>
static const double PI = 3.14159265358979323846;
static const double MaxLat = 89.99;

@ -1 +1 @@
2bce2350a78938f08fd7065d0382dec1 kholidays-15.12.1.tar.xz
9369e69a2a6ecbf8813a472d3b72c60c kholidays-15.12.2.tar.xz

Loading…
Cancel
Save