/[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.3 by jpp, Sat Jan 9 04:55:33 2021 UTC Revision 1.10 by jcrisp, Tue Mar 8 13:02:34 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-cvm-unix-local.spec,v 1.2 2016/02/04 23:26:07 vip-ire Exp $  # $Id: e-smith-cvm-unix-local.spec,v 1.9 2022/03/08 06:33:46 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 2  %define release 8
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13  Patch: 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
15    Patch2: e-smith-cvm-unix-local-2.6.0-bz11807-log.patch
16    Patch3: e-smith-cvm-unix-local-2.6.0-bz11885-fix-yum-action.patch
17    
18  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  Requires: cvm daemontools  Requires: cvm >= 0.97
20    #Requires: daemontools
21  Requires: e-smith-lib >= 1.13.1-90  Requires: e-smith-lib >= 1.13.1-90
22  BuildArchitectures: noarch  BuildArchitectures: noarch
23  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 23  AutoReqProv: no Line 27  AutoReqProv: no
27  Module for supervising cvm auth daemon  Module for supervising cvm auth daemon
28    
29  %changelog  %changelog
30    * Tue Mar 08 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-8.sme
31    - Add yum action to restart post install [SME: 11885]
32    
33    * Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
34    - bump requirement for cvm [SME: 11885]
35      removing daemontools requirement
36    
37    * Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-6.sme
38    - expand rsyslog.conf [SME: 11807]
39    
40    * Thu Feb 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-5.sme
41    - redirect and rotate log for cvm-unix [SME: 11807]
42      fix cvm-pre script permission
43    
44    * Tue Dec 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-4.sme
45    - fix service stopping restarting on crash [SME: 11792]
46    
47    * Mon Jan 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
48    - fix typo [SME: 11314]
49    
50  * Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme  * Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
51  - migrate to systemd [SME: 11314]  - migrate to systemd [SME: 11314]
52  - add update event [SME: 11125]  - add update event [SME: 11125]
# Line 89  Module for supervising cvm auth daemon Line 113  Module for supervising cvm auth daemon
113    
114  %prep  %prep
115  %setup  %setup
116  %patch -p1  %patch0 -p1
117    %patch1 -p1
118  rm -rf root/var/service  rm -rf root/var/service
119    %patch2 -p1
120    %patch3 -p1
121    
122  %build  %build
123  perl createlinks  perl createlinks
# Line 102  mkdir -p $RPM_BUILD_ROOT/var/lib/cvm Line 129  mkdir -p $RPM_BUILD_ROOT/var/lib/cvm
129  mkdir -p $RPM_BUILD_ROOT/var/log/cvm  mkdir -p $RPM_BUILD_ROOT/var/log/cvm
130  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
131  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
132      --file /sbin/e-smith/systemd/cvm-unix-pre 'attr(0554,root,root)' \
133    --dir /var/lib/cvm 'attr(0755,root,root)' \    --dir /var/lib/cvm 'attr(0755,root,root)' \
134    --dir /var/log/cvm 'attr(0750,cvmlog,cvmlog)' \    --dir /var/log/cvm 'attr(0750,cvmlog,cvmlog)' \
135    > %{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