<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: META.yml and Building RPMs</title>
	<atom:link href="http://perlhacks.com/2010/02/metayml-and-building-rpms/feed/" rel="self" type="application/rss+xml" />
	<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/</link>
	<description>Just another Perl Hacker&#039;s blog</description>
	<lastBuildDate>Thu, 24 May 2012 15:20:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Dave Cross</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-118</link>
		<dc:creator>Dave Cross</dc:creator>
		<pubDate>Thu, 18 Feb 2010 13:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-118</guid>
		<description>&quot;Is there a better approach that we could reasonably have taken?&quot;
Yes, the approach suggested by jnareb &lt;a href=&quot;http://perlhacks.com/2010/02/metayml-and-building-rpms.php#comment-109&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; seems to me to be a good way round this issue.
</description>
		<content:encoded><![CDATA[<p>&#8220;Is there a better approach that we could reasonably have taken?&#8221;<br />
Yes, the approach suggested by jnareb <a href="http://perlhacks.com/2010/02/metayml-and-building-rpms.php#comment-109" rel="nofollow">here</a> seems to me to be a good way round this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris.weyl</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-117</link>
		<dc:creator>chris.weyl</dc:creator>
		<pubDate>Thu, 18 Feb 2010 05:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-117</guid>
		<description>&quot;The Fedora RPM for this module takes a weird approach and makes JSON::XS a required dependency.&quot;
How is this a &quot;weird approach&quot;?  We needed to pick _something_ to use as a RPM dependency or perl-JSON-Any wouldn&#039;t be guaranteed to be functional after installed, and JSON::XS was the fastest (at the time, anyways).  Is there a better approach that we could reasonably have taken?
</description>
		<content:encoded><![CDATA[<p>&#8220;The Fedora RPM for this module takes a weird approach and makes JSON::XS a required dependency.&#8221;<br />
How is this a &#8220;weird approach&#8221;?  We needed to pick _something_ to use as a RPM dependency or perl-JSON-Any wouldn&#8217;t be guaranteed to be functional after installed, and JSON::XS was the fastest (at the time, anyways).  Is there a better approach that we could reasonably have taken?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mirod.myopenid.com</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-116</link>
		<dc:creator>mirod.myopenid.com</dc:creator>
		<pubDate>Wed, 10 Feb 2010 18:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-116</guid>
		<description>&lt;blockquote&gt;This seems to be somewhere where I have philosophical differences with the Fedora RPM packaging team. I believe that all of these modules should be seen as optional and there for shouldn&#039;t be listed as dependencies in the META.yml or the RPM. The Fedora team disagrees. They want each RPM to depend on all of the modules it needs in order to have as many features as possible, The Template-XML RPM therefore requires all of the XML processing modules I listed above. That seems wrong to me.&lt;/blockquote&gt;
&lt;p&gt;I don&#039;t think you and the Fedora Team have philosophical differences, you&#039;re just in 2 different places. The CPAN culture is to minimize dependencies. Or our users complain loudly. On the other hand, packagers control the repository, they have all the dependencies available, they can make sure they install properly, and they only have one shot at installing all that&#039;s needed for a package to work, unless they break it up in several packages. So it makes sense for them to err on the side of caution and include as many dependencies as possible. Or their users complain loudly.&lt;/p&gt;
&lt;p&gt;That&#039;s especially true for RPMs, which don&#039;t seem to have (yet?) Debian&#039;s notion of optional but recommended dependencies.&lt;/p&gt;
&lt;p&gt;Of course this doesn&#039;t apply to the cases you describe of alternate dependencies, but the current packaging systems would have to deal with those by creating alternate packages: Plack-Apache1 and Plack-Apache2 for example.&lt;/p&gt;
&lt;p&gt;As a side note I am not sure the CPAN culture of minimizing dependencies is that healthy, and I like the fact that distributions don&#039;t hesitate to install plenty of code at once.&lt;/p&gt;
&lt;p&gt;In the end, it doesn&#039;t really matter what option is chosen, users will still complain loudly ;--)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<blockquote><p>This seems to be somewhere where I have philosophical differences with the Fedora RPM packaging team. I believe that all of these modules should be seen as optional and there for shouldn&#8217;t be listed as dependencies in the META.yml or the RPM. The Fedora team disagrees. They want each RPM to depend on all of the modules it needs in order to have as many features as possible, The Template-XML RPM therefore requires all of the XML processing modules I listed above. That seems wrong to me.</p></blockquote>
<p>I don&#8217;t think you and the Fedora Team have philosophical differences, you&#8217;re just in 2 different places. The CPAN culture is to minimize dependencies. Or our users complain loudly. On the other hand, packagers control the repository, they have all the dependencies available, they can make sure they install properly, and they only have one shot at installing all that&#8217;s needed for a package to work, unless they break it up in several packages. So it makes sense for them to err on the side of caution and include as many dependencies as possible. Or their users complain loudly.</p>
<p>That&#8217;s especially true for RPMs, which don&#8217;t seem to have (yet?) Debian&#8217;s notion of optional but recommended dependencies.</p>
<p>Of course this doesn&#8217;t apply to the cases you describe of alternate dependencies, but the current packaging systems would have to deal with those by creating alternate packages: Plack-Apache1 and Plack-Apache2 for example.</p>
<p>As a side note I am not sure the CPAN culture of minimizing dependencies is that healthy, and I like the fact that distributions don&#8217;t hesitate to install plenty of code at once.</p>
<p>In the end, it doesn&#8217;t really matter what option is chosen, users will still complain loudly ;&#8211;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dagolden</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-115</link>
		<dc:creator>dagolden</dc:creator>
		<pubDate>Wed, 10 Feb 2010 17:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-115</guid>
		<description>&lt;p&gt;MYMETA was agreed upon at the Oslo Hackthon as part of the &lt;a href=&quot;http://use.perl.org/~Alias/journal/36128&quot; rel=&quot;nofollow&quot;&gt;Oslo Consensus&lt;/a&gt;.  It was called METALOCAL at the time, but subsequent discussions have renamed it MYMETA.  The goal is to standardize how the toolchain can communicate post-configuration information instead of tools having to independently scrape Makefile.PL or _build/prereqs.  It doesn&#039;t do anything new -- it just does it in a standard way.  CPAN(PLUS) in Perl 5.10.1 already support MYMETA if it exists after configuration.&lt;/p&gt;
&lt;p&gt;There was a &lt;a href=&quot;http://www.dagolden.com/index.php/538/summary-of-cpan-meta-spec-public-discussions/&quot; rel=&quot;nofollow&quot;&gt;proposal and review process&lt;/a&gt; for the definition of a CPAN Meta Spec 2.0.  That has been &lt;a href=&quot;http://www.dagolden.com/index.php/642/etoomanyprojects/&quot; rel=&quot;nofollow&quot;&gt;postponed pending other high priority projects&lt;/a&gt; from the Pumpking and Perl NOC.&lt;/p&gt;
&lt;p&gt;After 2.0 is finalized, I expect MYMETA to be implemented for ExtUtils::MakeMaker (and/or Module::Install), though CPAN Meta 2.0 will be represented in JSON, not YAML, due to inconsistencies in YAML implementation.&lt;/p&gt;
&lt;p&gt;Hope that clarifies the current state of affairs..&lt;/p&gt;
&lt;p&gt;-- &lt;a href=&quot;http://www.dagolden.com/&quot; rel=&quot;nofollow&quot;&gt;dagolden&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>MYMETA was agreed upon at the Oslo Hackthon as part of the <a href="http://use.perl.org/~Alias/journal/36128" rel="nofollow">Oslo Consensus</a>.  It was called METALOCAL at the time, but subsequent discussions have renamed it MYMETA.  The goal is to standardize how the toolchain can communicate post-configuration information instead of tools having to independently scrape Makefile.PL or _build/prereqs.  It doesn&#8217;t do anything new &#8212; it just does it in a standard way.  CPAN(PLUS) in Perl 5.10.1 already support MYMETA if it exists after configuration.</p>
<p>There was a <a href="http://www.dagolden.com/index.php/538/summary-of-cpan-meta-spec-public-discussions/" rel="nofollow">proposal and review process</a> for the definition of a CPAN Meta Spec 2.0.  That has been <a href="http://www.dagolden.com/index.php/642/etoomanyprojects/" rel="nofollow">postponed pending other high priority projects</a> from the Pumpking and Perl NOC.</p>
<p>After 2.0 is finalized, I expect MYMETA to be implemented for ExtUtils::MakeMaker (and/or Module::Install), though CPAN Meta 2.0 will be represented in JSON, not YAML, due to inconsistencies in YAML implementation.</p>
<p>Hope that clarifies the current state of affairs..</p>
<p>&#8211; <a href="http://www.dagolden.com/" rel="nofollow">dagolden</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jquelin</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-114</link>
		<dc:creator>jquelin</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-114</guid>
		<description>note also that mymeta.yml is not currently supported by eumm... this is enough to stop the idea of using mymeta (for now).
</description>
		<content:encoded><![CDATA[<p>note also that mymeta.yml is not currently supported by eumm&#8230; this is enough to stop the idea of using mymeta (for now).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jnareb</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-113</link>
		<dc:creator>jnareb</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-113</guid>
		<description>&lt;b&gt;&quot;Choose One&quot; requirements&lt;/b&gt;
In RPM (and I guess also in dpkg format) the problem of depending on one of possible implementations is solved via metapackages.  JSON::XS, JSON::DWIW and JSON would have &#039;Provides: perl-JSON-implementation&#039; (or something like that), and JSON::Any would require such metapackage, i.e. &#039;Requires: perl-JSON-implementation&#039;.
This is used for example if given program requires web server, or mail daemon, but it doesn&#039;t matter to it what exactly package / program is installed.
See subsection &quot;Virtual Packages&quot; in /usr/share/doc/rpm-*/dependencies
</description>
		<content:encoded><![CDATA[<p><b>&#8220;Choose One&#8221; requirements</b><br />
In RPM (and I guess also in dpkg format) the problem of depending on one of possible implementations is solved via metapackages.  JSON::XS, JSON::DWIW and JSON would have &#8216;Provides: perl-JSON-implementation&#8217; (or something like that), and JSON::Any would require such metapackage, i.e. &#8216;Requires: perl-JSON-implementation&#8217;.<br />
This is used for example if given program requires web server, or mail daemon, but it doesn&#8217;t matter to it what exactly package / program is installed.<br />
See subsection &#8220;Virtual Packages&#8221; in /usr/share/doc/rpm-*/dependencies</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jquelin</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-112</link>
		<dc:creator>jquelin</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-112</guid>
		<description>rpm supports optional dependencies with Suggests:
i&#039;m currently facing the same problem for (official) mandriva rpms. i&#039;m trying to move the prereqs extraction from using perl.req to a new perl.req-from-meta if meta.yml and/or meta.json is packaged (it defaults to using perl.req otherwise).
it&#039;s a work in progress though...
</description>
		<content:encoded><![CDATA[<p>rpm supports optional dependencies with Suggests:<br />
i&#8217;m currently facing the same problem for (official) mandriva rpms. i&#8217;m trying to move the prereqs extraction from using perl.req to a new perl.req-from-meta if meta.yml and/or meta.json is packaged (it defaults to using perl.req otherwise).<br />
it&#8217;s a work in progress though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nxadm</title>
		<link>http://perlhacks.com/2010/02/metayml-and-building-rpms/#comment-111</link>
		<dc:creator>nxadm</dc:creator>
		<pubDate>Wed, 10 Feb 2010 15:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=47#comment-111</guid>
		<description>Maybe irrelevant to the discussion, but debian/ubuntu dpkg format does have the &quot;recommends&quot; and the &quot;depends on one of those&quot; notion:
claudio@amsterdam:~$ apt-cache show libroxen-xmlutils &#124;grep &#039;Depends:&#039;Depends: roxen3, pike (&gt;= 0.6) &#124; pike7 (&gt;= 7.0.36) &#124; pike7.2 &#124; pike7.6
claudio@amsterdam:~$ apt-cache show libjson-perl &#124;grep &#039;Recommends:&#039;
Recommends: libjson-xs-perl (&gt;= 2.24)
claudio
</description>
		<content:encoded><![CDATA[<p>Maybe irrelevant to the discussion, but debian/ubuntu dpkg format does have the &#8220;recommends&#8221; and the &#8220;depends on one of those&#8221; notion:<br />
claudio@amsterdam:~$ apt-cache show libroxen-xmlutils |grep &#8216;Depends:&#8217;Depends: roxen3, pike (>= 0.6) | pike7 (>= 7.0.36) | pike7.2 | pike7.6<br />
claudio@amsterdam:~$ apt-cache show libjson-perl |grep &#8216;Recommends:&#8217;<br />
Recommends: libjson-xs-perl (>= 2.24)<br />
claudio</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.175 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-30 22:53:34 -->
<!-- Compression = gzip -->