1 |
# $Id: e-smith-runit.spec,v 1.5 2016/04/12 03:44:08 unnilennium Exp $ |
# $Id: e-smith-runit.spec,v 1.11 2021/01/03 06:37:08 jpp Exp $ |
2 |
|
|
3 |
Summary: generic support framework for Gerrit Pape's runit package |
Summary: generic support framework for Gerrit Pape's runit package |
4 |
%define name e-smith-runit |
%define name e-smith-runit |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 6 |
%define release 11 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch0: e-smith-runit-2.6.0-systemd.patch |
Patch0: e-smith-runit-2.6.0-systemd.patch |
14 |
Patch1: e-smith-runit-2.6.0-bootstrap.patch |
Patch1: e-smith-runit-2.6.0-bootstrap.patch |
15 |
Patch2: e-smith-runit-2.6.0-bz9688.skipredirect.patch |
Patch2: e-smith-runit-2.6.0-bz9688.skipredirect.patch |
16 |
|
Patch3: e-smith-runit-2.6.0-bz11013-sme-server.target.patch |
17 |
|
Patch4: e-smith-runit-2.6.0-bz11088-beforenetwork.patch |
18 |
|
Patch5: e-smith-runit-2.6.0-bz11013-fixunitfile.patch |
19 |
|
Patch6: e-smith-runit-2.6.0-bz11156-update.patch |
20 |
|
Patch7: e-smith-runit-2.6.0-bz9692-cleanup.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
Obsoletes: supervise-scripts |
Obsoletes: supervise-scripts |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
32 |
|
- cleanup of /etc/rc.d [SME: 9692] |
33 |
|
|
34 |
|
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
35 |
|
- create e-smith-runit-update event [SME: 11156] |
36 |
|
also tidy target wantedby: should run from basic.target |
37 |
|
|
38 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
39 |
|
- fix issue with Before rules in unit file [SME: 11013] |
40 |
|
|
41 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
42 |
|
- run before network-pre.target [SME: 11088] |
43 |
|
|
44 |
|
* Wed Sep 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
45 |
|
- enable for sme-server.target [SME: 11013] |
46 |
|
|
47 |
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
48 |
- add systemd skip redirect [SME: 9688] |
- add systemd skip redirect [SME: 9688] |
49 |
|
|
128 |
%patch0 -p1 |
%patch0 -p1 |
129 |
%patch1 -p1 |
%patch1 -p1 |
130 |
%patch2 -p1 |
%patch2 -p1 |
131 |
|
%patch3 -p1 |
132 |
|
%patch4 -p1 |
133 |
|
%patch5 -p1 |
134 |
|
%patch6 -p1 |
135 |
|
mkdir -p root/etc/e-smith/events |
136 |
|
%patch7 -p1 |
137 |
|
rm -rf root/etc/rc.d |
138 |
|
|
139 |
%build |
%build |
140 |
perl createlinks |
perl createlinks |