fixed packaging glitches

This commit is contained in:
hyung-hwan 2015-04-11 14:28:29 +00:00
parent 47c7b65fee
commit 5edf468963
3 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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