On Mon, Jun 13, 2016 at 12:32:23PM +0000, Holger Levsen wrote:
> yum-utils 1.1.31 is in Debian stable and stretch…

But apparently plugins are not packaged there[1].

yum-utils.spec contains manual installation of them:
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/
$RPM_BUILD_ROOT/usr/lib/yum-plugins/
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/post-actions

cd plugins
for plug in $plugins; do
    install -m 644 $plug/*.conf
$RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/
    install -m 644 $plug/*.py $RPM_BUILD_ROOT/usr/lib/yum-plugins/
    %{__python} -c "import compileall;
    %compileall.compile_dir('$RPM_BUILD_ROOT/usr/lib/yum-plugins', 1)"
done

`make install` doesn't include it.

> > > does dnf have --downloadonly? 
> > Yes, it works slightly differently than in yum, but is good enough.
> 
> maybe the yum Debian maintainers have plans of packaging dnf?

So there are three ways of adding this feature:
 - include yum patch for --downloadonly option
 - package yum-utils plugins (probably each as separate sub-package)
 - package dnf

[1] https://packages.debian.org/jessie/all/yum-utils/filelist

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Attachment: signature.asc
Description: PGP signature

Reply via email to