1 |
# $Id: smeserver-yum.spec,v 1.57 2020/12/07 19:41:43 jpp Exp $ |
# $Id: smeserver-yum.spec,v 1.59 2020/12/09 04:38:08 jpp Exp $ |
2 |
|
|
3 |
%define name smeserver-yum |
%define name smeserver-yum |
4 |
Summary: YUM, an rpm updater |
Summary: YUM, an rpm updater |
113 |
|
|
114 |
%build |
%build |
115 |
perl createlinks |
perl createlinks |
|
ln -s /var/service/yum root/service/yum |
|
116 |
mkdir -p root/etc/yum.smerepos.d |
mkdir -p root/etc/yum.smerepos.d |
117 |
|
|
118 |
%install |
%install |
142 |
/usr/bin/sv d yum |
/usr/bin/sv d yum |
143 |
/usr/bin/sv d yum/log |
/usr/bin/sv d yum/log |
144 |
fi |
fi |
145 |
|
fi |
146 |
|
%post |
147 |
|
if [ $1 -gt 1 ] ; then |
148 |
if [ -e /var/service/yum ] ; then |
if [ -e /var/service/yum ] ; then |
149 |
rm -rf /var/service/yum >/dev/null 2>&1 |
rm -rf /var/service/yum >/dev/null 2>&1 |
150 |
fi |
fi |
151 |
fi |
fi |
152 |
|
|
153 |
|
|
154 |
%changelog |
%changelog |
155 |
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-42.sme |
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-42.sme |
156 |
- move yum upate db service to systemd [SME: 11180] |
- move yum upate db service to systemd [SME: 11180] |