summaryrefslogtreecommitdiffstats
path: root/libxlsxio.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libxlsxio.spec')
-rw-r--r--libxlsxio.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/libxlsxio.spec b/libxlsxio.spec
index b278ef6..9a45578 100644
--- a/libxlsxio.spec
+++ b/libxlsxio.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for xlsxio
#
-# Copyright (c) 2019 Remi Collet
+# Copyright (c) 2019-2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -16,12 +16,15 @@
Name: %{gh_project}
Summary: XLSX tools from %{libname}
Version: 0.2.24
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
URL: https://github.com/%{gh_owner}/%{gh_project}/
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+# New feature needed for pecl/xlswriter
+Patch0: libxlsxio-feat.patch
+
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake >= 2.6
@@ -64,6 +67,9 @@ for %{libname}.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+sed -e 's/\r//' -i include/xlsxio_read.h lib/xlsxio_read.c
+%patch0 -p1 -b .feat
+
# Fix installation layout
sed -e '/LIBRARY DESTINATION/s/lib/%{_lib}/' \
-e 's/DESTINATION \./DESTINATION share/' \
@@ -114,6 +120,10 @@ rm -rf %{buildroot}%{_mandir}/man3/_builddir_*
%changelog
+* Thu Mar 19 2020 Remi Collet <remi@remirepo.net> - 0.2.24-2
+- add patch for pec/xlswriter from
+ https://github.com/viest/xlsxio
+
* Thu Mar 19 2020 Remi Collet <remi@remirepo.net> - 0.2.24-1
- update to 0.2.24
- drop patch merged upstream