/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum.spec
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.58 by jpp, Wed Dec 9 04:35:17 2020 UTC Revision 1.60 by jpp, Wed Dec 9 04:55:22 2020 UTC
# Line 1  Line 1 
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
# Line 113  rm -rf root/var/service/ root/service/ Line 113  rm -rf root/var/service/ root/service/
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
# Line 143  if [ $1 -gt 1 ] ; then Line 142  if [ $1 -gt 1 ] ; then
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]


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed