summaryrefslogtreecommitdiffstats
path: root/php-pggi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pggi.spec')
-rw-r--r--php-pggi.spec15
1 files changed, 6 insertions, 9 deletions
diff --git a/php-pggi.spec b/php-pggi.spec
index 374cc6c..6566deb 100644
--- a/php-pggi.spec
+++ b/php-pggi.spec
@@ -8,7 +8,7 @@
#
%{?scl: %scl_package php-pggi}
-%global gh_commit e7ccc179b142ded3746ca75f912f4c5f3eba0a89
+%global gh_commit 031d42c22b4a346c87bad4bf84bc2a29ba67f7fe
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner Letargie
%global gh_project pggi
@@ -17,16 +17,13 @@
Summary: GTK bindings
Name: %{?scl_prefix}php-pggi
-Version: 0.4.0
+Version: 0.4.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
Group: Development/Languages
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
-# https://github.com/Letargie/pggi/pull/14
-Patch0: https://patch-diff.githubusercontent.com/raw/Letargie/pggi/pull/14.patch
-
BuildRequires: %{?dtsprefix}gcc
BuildRequires: gtk3-devel
BuildRequires: %{?scl_prefix}php-devel > 7
@@ -84,10 +81,6 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
mv %{gh_project}-%{gh_commit} NTS
cd NTS
-%patch0 -p1 -b .pr14
-find src/ -name \*.c -exec chmod -x {} \;
-find src/ -name \*.h -exec chmod -x {} \;
-
# Sanity check, really often broken
extver=$(sed -n '/#define PGGI_VERSION/{s/.* "//;s/".*$//;p}' src/pggi.h)
if test "x${extver}" != "x%{version}%{?gh_date:-dev}"; then
@@ -176,6 +169,10 @@ cd ../ZTS
%changelog
+* Wed Oct 9 2019 Remi Collet <remi@remirepo.net> - 0.4.1-1
+- update to 0.4.1
+- drop patches merged upstream
+
* Tue Oct 8 2019 Remi Collet <remi@remirepo.net> - 0.4.0-1
- update to 0.4.0
- drop patches merged upstream