From: Elan Ruusamäe Date: Sat, 16 Jan 2010 17:50:55 +0000 (+0000) Subject: - cleanup, requires devel package to build X-Git-Tag: auto/th/php-pecl-xslcache-0_7_1-2~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=fb30ee945047f88e3513ebbfbaf47ad4f203647e;p=packages%2Fphp-pecl-xslcache.git - cleanup, requires devel package to build Changed files: php-pecl-xslcache.spec -> 1.2 --- diff --git a/php-pecl-xslcache.spec b/php-pecl-xslcache.spec index d54606c..5ad0c27 100644 --- a/php-pecl-xslcache.spec +++ b/php-pecl-xslcache.spec @@ -13,7 +13,7 @@ Group: Development/Languages/PHP Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz # Source0-md5: 1e32327f62122055ece6f78fa2b851b2 URL: http://pecl.php.net/package/xslcache -BuildRequires: libxslt +BuildRequires: libxslt-devel >= 1.1.0 BuildRequires: php-devel >= 3:5.0.0 BuildRequires: rpmbuild(macros) >= 1.519 %{?requires_php_extension} @@ -29,8 +29,6 @@ could be done on the extension, this code is already proving beneficial in production use for a few applications on the New York Times' website. -#%description -l pl.UTF-8 - %prep %setup -q -c mv %{modname}-%{version}/* . @@ -43,10 +41,7 @@ phpize %{__make} %install -rm -rf $RPM_BUILD_ROOT -#install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}} -#install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}} %{__make} install \ INSTALL_ROOT=$RPM_BUILD_ROOT \ @@ -56,8 +51,6 @@ cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini extension=%{modname}.so EOF -#cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} - %clean rm -rf $RPM_BUILD_ROOT @@ -71,7 +64,6 @@ fi %files %defattr(644,root,root,755) -%doc CREDITS EXPERIMENTAL +%doc CREDITS %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini %attr(755,root,root) %{php_extensiondir}/%{modname}.so -#%{_examplesdir}/%{name}-%{version}