svn: /pear/peardoc/trunk/en/pyrus/extending/ packagefile.xml
[email protected] (Brett Bieber) Tue, 03 May 2011 20:04:48 +0000
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
saltybeagle Tue, 03 May 2011 20:04:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310745
Log:
For packages that distribute a license file the attribute should be 'filesource' and not 'path'
Changed paths:
U pear/peardoc/trunk/en/pyrus/extending/packagefile.xml
Modified: pear/peardoc/trunk/en/pyrus/extending/packagefile.xml
===================================================================
--- pear/peardoc/trunk/en/pyrus/extending/packagefile.xml 2011-05-03 15:33:00 UTC (rev 310744)
+++ pear/peardoc/trunk/en/pyrus/extending/packagefile.xml 2011-05-03 20:04:48 UTC (rev 310745)
@@ -98,8 +98,8 @@
if ($package->license['uri']) {
echo "Package license URI is ", $package->license['uri'], "\n";
}
-if ($package->license['path']) {
- echo "Package license path within the package.xml is ", $package->license['path'], "\n";
+if ($package->license['filesource']) {
+ echo "Package license path within the package.xml is ", $package->license['filesource'], "\n";
}
echo "Package release version is ", $package->version['release'], "\n";
echo "Package API version is ", $package->version['api'], "\n";
@@ -133,7 +133,7 @@
// or
$package->license['name'] = 'BSD License';
$package->license['uri'] = 'http://www.opensource.org/licenses/bsd-license.php';
-$package->license['path'] = 'LICENSE';
+$package->license['filesource'] = 'LICENSE';
$package->version['release'] = '1.2.3';
$package->version['api'] = '1.0.0';