rpms/php-pear-Event-Dispatcher/F-10 php-pear-Event-Dispatcher.spec, 1.1, 1.2 sources, 1.2, 1.3

Remi Collet remi at fedoraproject.org
Wed Jul 29 05:47:57 UTC 2009


Author: remi

Update of /cvs/extras/rpms/php-pear-Event-Dispatcher/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13067

Modified Files:
	php-pear-Event-Dispatcher.spec sources 
Log Message:
update to 1.1.0 (packaging fix)


Index: php-pear-Event-Dispatcher.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Event-Dispatcher/F-10/php-pear-Event-Dispatcher.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- php-pear-Event-Dispatcher.spec	28 Aug 2008 17:44:44 -0000	1.1
+++ php-pear-Event-Dispatcher.spec	29 Jul 2009 05:47:56 -0000	1.2
@@ -2,8 +2,8 @@
 %define pear_name Event_Dispatcher
 
 Name:           php-pear-Event-Dispatcher
-Version:        1.0.0
-Release:        2%{?dist}
+Version:        1.1.0
+Release:        1%{?dist}
 Summary:        Dispatch notifications using PHP callbacks
 
 Group:          Development/Libraries
@@ -35,9 +35,9 @@ observer, passing the notification as th
 
 %prep
 %setup -q -c
-# Still an old package V1
-%{__pear} convert package.xml %{pear_name}-%{version}/%{pear_name}.xml
+# package.xml is V2
 %{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG
+mv package.xml %{pear_name}-%{version}/%{name}.xml
 cd %{pear_name}-%{version}
 
 
@@ -49,7 +49,7 @@ cd %{pear_name}-%{version}
 %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
 mkdir -p docdir
@@ -61,7 +61,7 @@ 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
@@ -70,7 +70,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %{__pear} install --nodeps --soft --force --register-only \
-    %{pear_xmldir}/%{pear_name}.xml >/dev/null || :
+    %{pear_xmldir}/%{name}.xml >/dev/null || :
 
 
 %postun
@@ -81,23 +81,25 @@ fi
 
 
 %check
-# For documentation purpose, Need php-pear-PHPUnit-1.3.2
+# For documentation purpose, tested with PHPUnit 3.3.16
 # After install :
 # cd /usr/share/pear/test/Event_Dispatcher/tests
-# php test.php 
-# Dispatcher_testCase : Starting test1 ... Test passed
-# Dispatcher_testCase : Starting test2 ... Test passed
+# php AllTests.php
+# Should retourn : OK (2 tests, 21 assertions)
 
 
 %files
 %defattr(-,root,root,-)
 %doc CHANGELOG %{pear_name}-%{version}/docdir/%{pear_name}/*
-%{pear_xmldir}/%{pear_name}.xml
+%{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/Event
 %{pear_testdir}/%{pear_name}
 
 
 %changelog
+* Wed Jul 29 2009 Remi Collet <Fedora at FamilleCollet.com> 1.1.0-1
+- update to 1.1.0
+
 * Thu Aug 21 2008 Remi Collet <Fedora at FamilleCollet.com> 1.0.0-2
 - Add missing Requires: php-pear(PEAR)
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Event-Dispatcher/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	28 Aug 2008 18:10:21 -0000	1.2
+++ sources	29 Jul 2009 05:47:57 -0000	1.3
@@ -1 +1 @@
-0364b1bde5cbe770be9deb0a96cba6e2  Event_Dispatcher-1.0.0.tgz
+cf21ab8b519110a0d574a6822a67a6d8  Event_Dispatcher-1.1.0.tgz




More information about the fedora-extras-commits mailing list