1 |
# $Id: e-smith-runit.spec,v 1.3 2013/02/08 03:02:38 wellsi Exp $ |
# $Id: e-smith-runit.spec,v 1.10 2021/01/03 06:17:29 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 1 |
%define release 10 |
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 |
|
Patch0: e-smith-runit-2.6.0-systemd.patch |
14 |
|
Patch1: e-smith-runit-2.6.0-bootstrap.patch |
15 |
|
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 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Obsoletes: supervise-scripts |
Obsoletes: supervise-scripts |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
31 |
|
- create e-smith-runit-update event [SME: 11156] |
32 |
|
also tidy target wantedby: should run from basic.target |
33 |
|
|
34 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
35 |
|
- fix issue with Before rules in unit file [SME: 11013] |
36 |
|
|
37 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
38 |
|
- run before network-pre.target [SME: 11088] |
39 |
|
|
40 |
|
* Wed Sep 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
41 |
|
- enable for sme-server.target [SME: 11013] |
42 |
|
|
43 |
|
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
44 |
|
- add systemd skip redirect [SME: 9688] |
45 |
|
|
46 |
|
* Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
47 |
|
- start runit before bootstrap console [SME: 9352] |
48 |
|
|
49 |
|
* Sun Mar 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
50 |
|
- fix typo in patch [SME: 9366] |
51 |
|
|
52 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
53 |
|
- make runit working with systemd [SME: 9366] |
54 |
|
|
55 |
|
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
56 |
|
- rebuild for Bug [SME: 9347] |
57 |
|
|
58 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
59 |
- Initial release to sme10 |
- Initial release to sme10 |
60 |
|
|
121 |
|
|
122 |
%prep |
%prep |
123 |
%setup |
%setup |
124 |
|
%patch0 -p1 |
125 |
|
%patch1 -p1 |
126 |
|
%patch2 -p1 |
127 |
|
%patch3 -p1 |
128 |
|
%patch4 -p1 |
129 |
|
%patch5 -p1 |
130 |
|
%patch6 -p1 |
131 |
|
mkdir -p root/etc/e-smith/events |
132 |
|
|
133 |
%build |
%build |
134 |
perl createlinks |
perl createlinks |