diff --git a/codepot/codepot.spec.in b/codepot/codepot.spec.in index f00c8983..329a0262 100644 --- a/codepot/codepot.spec.in +++ b/codepot/codepot.spec.in @@ -28,7 +28,9 @@ Codepot code repository manager Summary: PHP Subversion extension Group: Development/Languages #BuildArch: %{_target_platform} -Requires: @PACKAGE_NAME@ = %{PACKAGE_VERSION} +# %{PACKAGE_VERSION} is deprecated. %{Version} is supported in some +# recent distros. Never mind. Let's just resort to the autoconf replacement. +Requires: @PACKAGE_NAME@ = @PACKAGE_VERSION@ Conflicts: %{php_package_name}-pecl-svn %description peclsvn diff --git a/codepot/pecl-svn/Makefile.am b/codepot/pecl-svn/Makefile.am index 83875da8..1220f786 100644 --- a/codepot/pecl-svn/Makefile.am +++ b/codepot/pecl-svn/Makefile.am @@ -2,9 +2,9 @@ EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini README all-local: mkdir -p @abs_builddir@/pecl - cp -pf @abs_srcdir@/svn.c @abs_builddir@/pecl/ - cp -pf @abs_srcdir@/php_svn.h @abs_builddir@/pecl/ - cp -pf @abs_srcdir@/config.m4 @abs_builddir@/pecl/ + cp -f @abs_srcdir@/svn.c @abs_builddir@/pecl/ + cp -f @abs_srcdir@/php_svn.h @abs_builddir@/pecl/ + cp -f @abs_srcdir@/config.m4 @abs_builddir@/pecl/ cd @abs_builddir@/pecl/; phpize cd @abs_builddir@/pecl/; ./configure cd @abs_builddir@/pecl/; make diff --git a/codepot/pecl-svn/Makefile.in b/codepot/pecl-svn/Makefile.in index 6ce064d5..3a842f8d 100644 --- a/codepot/pecl-svn/Makefile.in +++ b/codepot/pecl-svn/Makefile.in @@ -360,9 +360,9 @@ uninstall-am: all-local: mkdir -p @abs_builddir@/pecl - cp -pf @abs_srcdir@/svn.c @abs_builddir@/pecl/ - cp -pf @abs_srcdir@/php_svn.h @abs_builddir@/pecl/ - cp -pf @abs_srcdir@/config.m4 @abs_builddir@/pecl/ + cp -f @abs_srcdir@/svn.c @abs_builddir@/pecl/ + cp -f @abs_srcdir@/php_svn.h @abs_builddir@/pecl/ + cp -f @abs_srcdir@/config.m4 @abs_builddir@/pecl/ cd @abs_builddir@/pecl/; phpize cd @abs_builddir@/pecl/; ./configure cd @abs_builddir@/pecl/; make