--- /dev/null
+Index: package.xml
+===================================================================
+--- package.xml (.../tags/RELEASE_1_1_3)
++++ package.xml (.../trunk)
+
+Property changes on: package.xml
+___________________________________________________________________
+Deleted: svn:mime-type
+## -1 +0,0 ##
+-application/xml
+\ No newline at end of property
+Index: tcpwrap.c
+===================================================================
+--- tcpwrap.c (.../tags/RELEASE_1_1_3)
++++ tcpwrap.c (.../trunk)
+@@ -39,7 +39,7 @@
+ *
+ * Every user visible function must have an entry in tcpwrap_functions[].
+ */
+-function_entry tcpwrap_functions[] = {
++zend_function_entry tcpwrap_functions[] = {
+ PHP_FE(tcpwrap_check, NULL) /* For testing, remove later. */
+ {NULL, NULL, NULL} /* Must be the last line in tcpwrap_functions[] */
+ };
--- /dev/null
+#!/bin/sh
+set -e
+pecl=tcpwrap
+svn=http://svn.php.net/repository/pecl/$pecl
+tag=RELEASE_1_1_3
+out=branch.diff
+
+d=$-
+filter() {
+ set -$d
+ # remove revno's for smaller diffs
+ sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
+}
+
+old=$svn/tags/$tag
+new=$svn/trunk
+echo >&2 "Running diff: $old -> $new"
+LC_ALL=C svn diff --old=$old --new=$new | filter > $out.tmp
+
+if cmp -s $out{,.tmp}; then
+ echo >&2 "No new diffs..."
+ rm -f $out.tmp
+ exit 0
+fi
+mv -f $out{.tmp,}
Summary(pl.UTF-8): %{modname} - dowiązania tcpwrapper
Name: %{php_name}-pecl-%{modname}
Version: 1.1.3
-Release: 8
+Release: 9
License: PHP 3.01
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: 6db26ebbf6c59fedf2228e662fe78e3e
+Patch0: branch.diff
URL: http://pecl.php.net/package/tcpwrap/
BuildRequires: %{php_name}-devel >= 3:5.0.4
BuildRequires: libwrap-devel
%prep
%setup -qc
mv %{modname}-%{version}/* .
+%patch0 -p0
%build
phpize