1 |
# $Id: e-smith-runit.spec,v 1.3 2016/03/23 13:48:03 unnilennium Exp $ |
# $Id: e-smith-runit.spec,v 1.8 2020/11/09 03:32:33 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 4 |
%define release 9 |
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 |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Obsoletes: supervise-scripts |
Obsoletes: supervise-scripts |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
30 |
|
- fix issue with Before rules in unit file [SME: 11013] |
31 |
|
|
32 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
33 |
|
- run before network-pre.target [SME: 11088] |
34 |
|
|
35 |
|
* Wed Sep 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
36 |
|
- enable for sme-server.target [SME: 11013] |
37 |
|
|
38 |
|
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
39 |
|
- add systemd skip redirect [SME: 9688] |
40 |
|
|
41 |
|
* Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
42 |
|
- start runit before bootstrap console [SME: 9352] |
43 |
|
|
44 |
* Sun Mar 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
* Sun Mar 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
45 |
- fix typo in patch [SME: 9366] |
- fix typo in patch [SME: 9366] |
46 |
|
|
117 |
%prep |
%prep |
118 |
%setup |
%setup |
119 |
%patch0 -p1 |
%patch0 -p1 |
120 |
|
%patch1 -p1 |
121 |
|
%patch2 -p1 |
122 |
|
%patch3 -p1 |
123 |
|
%patch4 -p1 |
124 |
|
%patch5 -p1 |
125 |
|
|
126 |
%build |
%build |
127 |
perl createlinks |
perl createlinks |