rpms/php-pear-Net-FTP/devel php-pear-Net-FTP.spec, 1.1, 1.2 PHP-LICENSE-3.01, 1.1, NONE xml2changelog, 1.1, NONE

Remi Collet (remi) fedora-extras-commits at redhat.com
Thu Dec 6 21:25:44 UTC 2007


Author: remi

Update of /cvs/extras/rpms/php-pear-Net-FTP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19400

Modified Files:
	php-pear-Net-FTP.spec 
Removed Files:
	PHP-LICENSE-3.01 xml2changelog 
Log Message:
 update to new version


Index: php-pear-Net-FTP.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Net-FTP/devel/php-pear-Net-FTP.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- php-pear-Net-FTP.spec	7 Nov 2006 16:31:41 -0000	1.1
+++ php-pear-Net-FTP.spec	6 Dec 2007 21:25:08 -0000	1.2
@@ -2,16 +2,14 @@
 %define pear_name Net_FTP
 
 Name:           php-pear-Net-FTP
-Version:        1.3.2
+Version:        1.3.3
 Release:        1%{?dist}
 Summary:        Provides an OO interface to the PHP FTP functions plus some additions
 
 Group:          Development/Libraries
-License:        PHP License
+License:        PHP
 URL:            http://pear.php.net/package/Net_FTP
 Source0:        http://pear.php.net/get/%{pear_name}-%{version}.tgz
-Source1:        PHP-LICENSE-3.01
-Source2:        xml2changelog
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -32,9 +30,7 @@
 %prep
 %setup -q -c
 [ -f package2.xml ] || mv package.xml package2.xml
-%{_bindir}/php -n %{SOURCE2} package2.xml >CHANGELOG
 mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
-%{__install} -m 644 -c %{SOURCE1} LICENSE
 
 cd %{pear_name}-%{version}
 
@@ -80,13 +76,29 @@
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGELOG LICENSE docdir/example
+%doc docdir/example %{pear_name}-%{version}/CHANGELOG
 
 %{pear_xmldir}/%{pear_name}.xml
 %{pear_phpdir}/Net
+%{pear_testdir}/Net_FTP
+%{pear_datadir}/Net_FTP
 
 
+%check
+# yum install php-pear-Net-FTP
+# yum install php-pear-PHPUnit  # (tested with 3.1.8)
+# cd /usr/share/pear/test/Net_FTP
+# cp config.php.dist 
+# vi config.php
+# php AllTests.php
+# should display : OK (7 tests)
+
 %changelog
+* Thu Dec  6 2007 Remi Collet <Fedora at FamilleCollet.com> 1.3.3-1
+- new version
+- fix license
+- add %%check (for documentation only)
+
 * Sun Nov  5 2006 Remi Collet <Fedora at FamilleCollet.com> 1.3.2-1
 - initial RPM (generated specfile + cleanup)
 - add CHANGELOG and LICENSE


--- PHP-LICENSE-3.01 DELETED ---


--- xml2changelog DELETED ---




More information about the fedora-extras-commits mailing list