SPECS: php-magickwand.spec - more system macros

glen glen at pld-linux.org
Fri Jun 15 00:48:31 CEST 2007


Author: glen                         Date: Thu Jun 14 22:48:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more system macros

---- Files affected:
SPECS:
   php-magickwand.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/php-magickwand.spec
diff -u SPECS/php-magickwand.spec:1.5 SPECS/php-magickwand.spec:1.6
--- SPECS/php-magickwand.spec:1.5	Fri Jun 15 00:47:35 2007
+++ SPECS/php-magickwand.spec	Fri Jun 15 00:48:26 2007
@@ -1,7 +1,6 @@
 # $Revision$, $Date$
 %define     _pkgname MagickWandForPHP
 %define     _modname magickwand
-%define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
 Summary:	ImageMagick MagickWand API bindings for PHP
 Name:		php-%{_modname}
 Version:	1.0.4
@@ -33,8 +32,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{extensionsdir},%{php_sysconfdir}/conf.d}
-install modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+install -d $RPM_BUILD_ROOT{%{php_extensiondir},%{php_sysconfdir}/conf.d}
+install modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
 
 cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
@@ -48,7 +47,7 @@
 %defattr(644,root,root,755)
 %doc README LICENSE ChangeLog AUTHOR
 %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/magickwand.ini
-%attr(755,root,root) %{extensionsdir}/magickwand.so
+%attr(755,root,root) %{php_extensiondir}/magickwand.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -56,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/06/14 22:48:26  glen
+- more system macros
+
 Revision 1.5  2007/06/14 22:47:35  glen
 - php deps (from template-php-pecl.spec)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-magickwand.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list