packages: php-pecl-memcache/php-pecl-memcache.spec - rel 5; changelog bcond...
arekm
arekm at pld-linux.org
Tue Nov 8 21:01:29 CET 2011
Author: arekm Date: Tue Nov 8 20:01:29 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 5; changelog bcond (for building with php5.2)
---- Files affected:
packages/php-pecl-memcache:
php-pecl-memcache.spec (1.56 -> 1.57)
---- Diffs:
================================================================
Index: packages/php-pecl-memcache/php-pecl-memcache.spec
diff -u packages/php-pecl-memcache/php-pecl-memcache.spec:1.56 packages/php-pecl-memcache/php-pecl-memcache.spec:1.57
--- packages/php-pecl-memcache/php-pecl-memcache.spec:1.56 Tue Nov 8 20:56:34 2011
+++ packages/php-pecl-memcache/php-pecl-memcache.spec Tue Nov 8 21:01:24 2011
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without changelog
%include /usr/lib/rpm/macros.php
%define modname memcache
%define php_min_version 5.0.0
@@ -6,7 +7,7 @@
Summary(pl.UTF-8): %{modname} - rozszerzenie memcached
Name: php-pecl-%{modname}
Version: 3.0.6
-Release: 4
+Release: 5
License: PHP 3.01
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -20,7 +21,7 @@
BuildRequires: php-devel >= 3:5.0.0
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.344
-BuildRequires: php-packagexml2cl
+%{?with_changelog:BuildRequires: php-packagexml2cl}
%{?requires_php_extension}
Requires: php-common >= 4:5.0.4
Requires: php-session
@@ -76,7 +77,7 @@
%patch0 -p1
%build
-packagexml2cl package.xml > ChangeLog
+%{?with_changelog:packagexml2cl package.xml > ChangeLog}
phpize
%configure \
--with-zlib-dir=/usr
@@ -136,7 +137,7 @@
%files
%defattr(644,root,root,755)
-%doc CREDITS README ChangeLog
+%doc CREDITS README %{?with_changelog:ChangeLog}
%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/session_%{modname}.ini
%attr(755,root,root) %{php_extensiondir}/%{modname}.so
%{_examplesdir}/%{name}-%{version}
@@ -156,6 +157,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.57 2011/11/08 20:01:24 arekm
+- rel 5; changelog bcond (for building with php5.2)
+
Revision 1.56 2011/11/08 19:56:34 arekm
- revert
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-memcache/php-pecl-memcache.spec?r1=1.56&r2=1.57&f=u
More information about the pld-cvs-commit
mailing list