Projects
Kolab:Winterfell
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 28
View file
libkolabxml.spec
Changed
@@ -14,6 +14,8 @@ %global with_php 1 %global with_python 1 +%{expand: %(if [ `php-config --vernum` -gt 70000 ]; then echo %%global with_php7 1; else echo %%global with_php7 0; fi)} + %if 0%{?with_php} > 0 %if 0%{?suse_version} %global php php5 @@ -72,6 +74,8 @@ # From fa555615bd732cdc7fef56bf617e57d1bcf174fd Source0: libkolabxml-1.2.tar.gz +Patch0001: fix-qverify-argument.patch + BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: boost-devel @@ -235,9 +239,10 @@ %prep %setup -q -n libkolabxml-%{version} -%if 0%{?fedora} >= 25 +%patch0001 -p1 + +%if 0%{?with_php7} sed -i "s/-php/-php7/g" src/php/CMakeLists.txt -sed -i "s/QVERIFY(ptr)/QVERIFY(ptr != NULL)/g" tests/kolabconversationtest.cpp %endif %build
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.