packages: php-pear-XML_DTD/php-pear-XML_DTD.spec - fix packaging

glen glen at pld-linux.org
Thu Aug 19 20:27:10 CEST 2010


Author: glen                         Date: Thu Aug 19 18:27:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix packaging

---- Files affected:
packages/php-pear-XML_DTD:
   php-pear-XML_DTD.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: packages/php-pear-XML_DTD/php-pear-XML_DTD.spec
diff -u packages/php-pear-XML_DTD/php-pear-XML_DTD.spec:1.29 packages/php-pear-XML_DTD/php-pear-XML_DTD.spec:1.30
--- packages/php-pear-XML_DTD/php-pear-XML_DTD.spec:1.29	Thu Apr 30 23:25:27 2009
+++ packages/php-pear-XML_DTD/php-pear-XML_DTD.spec	Thu Aug 19 20:27:05 2010
@@ -4,13 +4,11 @@
 %define		_subclass	DTD
 %define		_status		alpha
 %define		_pearname	%{_class}_%{_subclass}
-
 Summary:	%{_pearname} - parsing of DTD files and DTD validation of XML files
 Summary(pl.UTF-8):	%{_pearname} - analizowanie plików DTD oraz sprawdzanie DTD plików XML
 Name:		php-pear-%{_pearname}
 Version:	0.5.2
-Release:	1
-Epoch:		0
+Release:	2
 License:	PHP 3.0
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -21,6 +19,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	php-common >= 3:4.2.0
 Requires:	php-pear
+Requires:	php-pear-XML_Parser >= 1.3.1
 Requires:	php-pear-XML_Tree >= 2.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -56,9 +55,9 @@
 Summary:	Tests for PEAR::%{_pearname}
 Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
 Group:		Development/Languages/PHP
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-AutoReq:	no
+Requires:	%{name} = %{version}-%{release}
 AutoProv:	no
+AutoReq:	no
 
 %description tests
 Tests for PEAR::%{_pearname}.
@@ -69,11 +68,12 @@
 %prep
 %pear_package_setup
 
+mv ./%{php_pear_dir}/data/%{_pearname}/*.txt .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
-mv -f ./%{php_pear_dir}/data/%{_pearname}/*.txt .
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -95,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2010/08/19 18:27:05  glen
+- fix packaging
+
 Revision 1.29  2009/04/30 21:25:27  adamg
 - updated to 0.5.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-XML_DTD/php-pear-XML_DTD.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list