rpms/php-pear-HTML-QuickForm-advmultiselect/F-10 php-pear-HTML-QuickForm-advmultiselect.spec, 1.2, 1.3 sources, 1.3, 1.4

Remi Collet remi at fedoraproject.org
Tue Apr 7 16:04:03 UTC 2009


Author: remi

Update of /cvs/extras/rpms/php-pear-HTML-QuickForm-advmultiselect/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17704

Modified Files:
	php-pear-HTML-QuickForm-advmultiselect.spec sources 
Log Message:
update to 1.5.1 (bugfix)


Index: php-pear-HTML-QuickForm-advmultiselect.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-HTML-QuickForm-advmultiselect/F-10/php-pear-HTML-QuickForm-advmultiselect.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- php-pear-HTML-QuickForm-advmultiselect.spec	27 Apr 2008 05:49:07 -0000	1.2
+++ php-pear-HTML-QuickForm-advmultiselect.spec	7 Apr 2009 16:03:32 -0000	1.3
@@ -2,7 +2,7 @@
 %define pear_name HTML_QuickForm_advmultiselect
 
 Name:           php-pear-HTML-QuickForm-advmultiselect
-Version:        1.4.1
+Version:        1.5.1
 Release:        1%{?dist}
 Summary:        Element for HTML_QuickForm that emulate a multi-select
 
@@ -10,13 +10,12 @@
 License:        BSD
 URL:            http://pear.php.net/package/HTML_QuickForm_advmultiselect
 Source0:        http://pear.php.net/get/%{pear_name}-%{version}.tgz
-Source2:        xml2changelog
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  php-pear >= 1:1.4.9-1.2
-Requires:       php-pear(PEAR) >= 1.4.3, php-pear(HTML_QuickForm) > 3.2.4
+BuildRequires:  php-pear(PEAR) >= 1.5.4
+Requires:       php-pear(PEAR) >= 1.5.4, php-pear(HTML_QuickForm) >= 3.2.10, php-pear(HTML_Common) >= 1.2.5
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
 Provides:       php-pear(%{pear_name}) = %{version}
@@ -29,9 +28,7 @@
 
 %prep
 %setup -q -c
-%{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG
-
-mv package.xml %{pear_name}-%{version}/%{pear_name}.xml
+mv package.xml %{pear_name}-%{version}/%{name}.xml
 
 
 %build
@@ -41,21 +38,20 @@
 %install
 cd %{pear_name}-%{version}
 rm -rf $RPM_BUILD_ROOT docdir
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
+%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
 
 # Move documentation
 mv $RPM_BUILD_ROOT%{pear_docdir}/%{pear_name} ../docdir
 
 # Fix the documentation
-sed -i -e 's/\r//' ../docdir/docs/TDG/*.{htc,html,css} \
-                   ../docdir/examples/*.{html,php}
+sed -i -e 's/\r//' ../docdir/examples/*.{html,php}
 
 # Clean up unnecessary files
 rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
 
 # Install XML package description
 mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
 
 
 %clean
@@ -64,7 +60,7 @@
 
 %post
 %{__pear} install --nodeps --soft --force --register-only \
-    %{pear_xmldir}/%{pear_name}.xml >/dev/null || :
+    %{pear_xmldir}/%{name}.xml >/dev/null || :
 
 %postun
 if [ $1 -eq 0 ] ; then
@@ -73,15 +69,33 @@
 fi
 
 
+%check
+# yum install php-pear-Net-FTP
+# yum install php-pear-PHPUnit  # (tested with 3.3.2)
+# cd /usr/share/pear/test/HTML_QuickForm_advmultiselect/tests
+# php AllTests.php
+# should display : 
+# OK (21 tests, 62 assertions)
+
+
 %files
 %defattr(-,root,root,-)
-%doc CHANGELOG docdir/*
-%{pear_xmldir}/%{pear_name}.xml
+%doc docdir/*
+%{pear_xmldir}/%{name}.xml
 %{pear_datadir}/%{pear_name}
 %{pear_phpdir}/HTML/QuickForm/advmultiselect.php
-
+%{pear_testdir}/%{pear_name}
 
 %changelog
+* Tue Apr 07 2009 Remi Collet <Fedora at FamilleCollet.com> 1.5.1-1
+- update to 1.5.1 (bugfix)
+- raise requirement for php-pear(HTML_Common) >= 1.2.5
+
+* Sun Feb 15 2009 Remi Collet <Fedora at FamilleCollet.com> 1.5.0-1
+- update to 1.5.0
+- Add %%check for doc purpose
+- remove generated CHANGELOG, ChangeLog provided upstream
+
 * Sun Apr 27 2008 Remi Collet <Fedora at FamilleCollet.com> 1.4.1-1
 - update to 1.4.1
 - add generated CHANGELOG


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-HTML-QuickForm-advmultiselect/F-10/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	27 Apr 2008 05:49:07 -0000	1.3
+++ sources	7 Apr 2009 16:03:32 -0000	1.4
@@ -1 +1 @@
-32e27d3ff3d6a96b1cd5f2ba0a38eb92  HTML_QuickForm_advmultiselect-1.4.1.tgz
+eab022b47db9e262f6d126a9c875264f  HTML_QuickForm_advmultiselect-1.5.1.tgz




More information about the fedora-extras-commits mailing list