<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 6, 2016 at 5:44 PM, Nicolas Chauvet <span dir="ltr">&lt;<a href="mailto:kwizart@gmail.com" target="_blank">kwizart@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">- rfpkg needs to be removed from the default buildroot and use<br>
rfpkg-minimal instead.<br>
This is a simple task that anyone can take. (convert and create<br>
rfpkg-minimal rpm package based on fedpkg-minimal)<br></blockquote><div><br></div><div>I just took a look at this, since it sounded like something I might be able to do. fedpkg-minimal is pretty straightforward: <a href="https://git.fedorahosted.org/cgit/fedpkg-minimal.git/tree/bin/fedpkg">https://git.fedorahosted.org/cgit/fedpkg-minimal.git/tree/bin/fedpkg</a></div><div><br></div><div>Unfortunately, an RPM Fusion equivalent will need to know whether or not the package in question is in free/ or in nonfree/, because of the dist-git namespacing. e.g. the curl line should become &quot;$baseurl/free/$pkgname/$tarball/$md5sum/$tarball&quot; or &quot;$baseurl/nonfree/$pkgname/$tarball/$md5sum/$tarball&quot;. Assuming I&#39;m not missing something obvious, I can think of three ways to deal with this:</div><div><br></div><div>a. Provide rfpkg-free and rfpkg-nonfree scripts, one for each namespace.</div><div><br></div><div>b. Attempt to download both and ignore failures (curl ... || true?), then check to see if the file exists before proceeding.</div><div><br></div><div>c. Somehow determine whether a package is in free/ or nonfree/ at runtime. This would be the optimal solution but I&#39;m not sure if there&#39;s a good way to do it. Perhaps checking .git/config for a configured remote with URL containing &quot;free&quot; or &quot;nonfree&quot;?</div><div><br></div><div>Thoughts?</div><div><br></div><div>Ben Rosser</div></div></div></div>