GCC 5 compatibility

This commit is contained in:
Petr Písař 2015-07-17 13:02:41 +02:00
parent 7ce7aaa598
commit 07159b8713
1 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: clearsilver
Version: 0.10.5
Release: 31%{?dist}
Release: 32%{?dist}
Summary: Fast and powerful HTML templating system
Group: Development/Libraries
# Technically, the license is "Neotonic ClearSilver", but it is a copy of
@ -16,6 +16,8 @@ Patch1: clearsilver-0.10.5-regression.patch
Patch2: clearsilver-0.10.5-CVE-2011-4357.patch
Patch3: clearsilver-ruby-1.9.patch
Patch4: clearsilver-ruby-2.2.patch
# GCC 5 compatibility, bug #1190760
Patch5: clearsilver-0.10.5-gcc5.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
BuildRequires: httpd-devel
@ -88,6 +90,7 @@ Provides: %{name}-java = %{version}-%{release}
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p2
touch configure
sed -i 's|/neo/opt/bin/python|%{__python}|' python/examples/*/*.py
sed -i 's|PYTHON_SITE = @PYTHON_SITE@|PYTHON_SITE = %{python_sitearch}|' rules.mk.in
@ -178,6 +181,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jul 17 2015 Petr Pisar <ppisar@redhat.com> - 0.10.5-32
- GCC 5 compatibility (bug #1190760)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild