SPECS (AC-branch): rpm.spec - add /etc/cron.daily/rpm -- caches pa...

Paweł Żurowski pzurowski at pld-linux.org
Fri Jan 7 20:52:18 CET 2005


Dnia 07-01-2005, pią o godzinie 19:24 +0200, Elan Ruusamäe napisał(a):
> On Friday 07 January 2005 18:21, Elan Ruusamäe wrote:
> > seems fair. added
> or bash-completion trigger changes the value to yes?
> 
> if grep -q RPM_CRON_RPMQA_CACHE=no /etc/sysconfig/rpm; then
>     sed -i 's,RPM_CRON_RPMQA_CACHE=no,RPM_CRON_RPMQA_CACHE=yes,' /etc/sysconfig/rpm
> fi

no way! 

but, IMO, it could be in bash-completion:
+BuildRequires:  rpmbuild(macros) >= 1.177
+%post
+%banner %{name}-rpmqa_cache << EOF
+NOTICE:
+  if you want to cache "blebleble", you should switch
+  RPM_CRON_RPMQA_CACHE to yes in /e/s/rpm
+EOF

-pawel

-- 
Pawel Zurowski






More information about the pld-devel-en mailing list