/[smeserver]/rpms/e-smith-cvm-unix-local/sme10/e-smith-cvm-unix-local.spec
ViewVC logotype

Diff of /rpms/e-smith-cvm-unix-local/sme10/e-smith-cvm-unix-local.spec

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

Revision 1.5 by jpp, Wed Dec 15 03:39:43 2021 UTC Revision 1.6 by jpp, Fri Feb 18 04:07:52 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-cvm-unix-local.spec,v 1.4 2021/01/11 07:42:42 jpp Exp $  # $Id: e-smith-cvm-unix-local.spec,v 1.5 2021/12/15 03:39:43 jpp Exp $
2    
3  Summary: Module for supervising cvm auth daemon  Summary: Module for supervising cvm auth daemon
4  %define name e-smith-cvm-unix-local  %define name e-smith-cvm-unix-local
5  Name: %{name}  Name: %{name}
6  %define version 2.6.0  %define version 2.6.0
7  %define release 4  %define release 5
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 12  Group: Networking/Daemons Line 12  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13  Patch0: e-smith-cvm-unix-local-2.6.0-bz11314-bz11125-systemd-update.patch  Patch0: e-smith-cvm-unix-local-2.6.0-bz11314-bz11125-systemd-update.patch
14  Patch1: e-smith-cvm-unix-local-2.6.0-bz11792-alwaysreload.patch  Patch1: e-smith-cvm-unix-local-2.6.0-bz11792-alwaysreload.patch
15    Patch2: e-smith-cvm-unix-local-2.6.0-bz11807-log.patch
16    
17  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18  Requires: cvm daemontools  Requires: cvm daemontools
# Line 24  AutoReqProv: no Line 25  AutoReqProv: no
25  Module for supervising cvm auth daemon  Module for supervising cvm auth daemon
26    
27  %changelog  %changelog
28    * Thu Feb 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-5.sme
29    - redirect and rotate log for cvm-unix [SME: 11807]
30      fix cvm-pre script permission
31    
32  * Tue Dec 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-4.sme  * Tue Dec 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-4.sme
33  - fix service stopping restarting on crash [SME: 11792]  - fix service stopping restarting on crash [SME: 11792]
34    
# Line 99  Module for supervising cvm auth daemon Line 104  Module for supervising cvm auth daemon
104  %patch0 -p1  %patch0 -p1
105  %patch1 -p1  %patch1 -p1
106  rm -rf root/var/service  rm -rf root/var/service
107    %patch2 -p1
108    
109  %build  %build
110  perl createlinks  perl createlinks
# Line 110  mkdir -p $RPM_BUILD_ROOT/var/lib/cvm Line 116  mkdir -p $RPM_BUILD_ROOT/var/lib/cvm
116  mkdir -p $RPM_BUILD_ROOT/var/log/cvm  mkdir -p $RPM_BUILD_ROOT/var/log/cvm
117  mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/sme-server.target.wants  mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/sme-server.target.wants
118  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
119      --file /sbin/e-smith/systemd/cvm-unix-pre 'attr(0554,root,root)' \
120    --dir /var/lib/cvm 'attr(0755,root,root)' \    --dir /var/lib/cvm 'attr(0755,root,root)' \
121    --dir /var/log/cvm 'attr(0750,cvmlog,cvmlog)' \    --dir /var/log/cvm 'attr(0750,cvmlog,cvmlog)' \
122    > %{name}-%{version}-%{release}-filelist    > %{name}-%{version}-%{release}-filelist


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