1 |
# $Id: e-smith-nutUPS.spec,v 1.13 2021/03/27 02:12:12 terryfage Exp $ |
# $Id: e-smith-nutUPS.spec,v 1.14 2021/03/30 12:00:52 terryfage Exp $ |
2 |
|
|
3 |
Summary: SME server - nut UPS interaction module |
Summary: SME server - nut UPS interaction module |
4 |
%define name e-smith-nutUPS |
%define name e-smith-nutUPS |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 11 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch1: e-smith-nutUPS-2.6.0-bz11488.patch |
Patch1: e-smith-nutUPS-2.6.0-bz11488.patch |
15 |
Patch2: e-smith-nutUPS-2.6.0-bz11494.patch |
Patch2: e-smith-nutUPS-2.6.0-bz11494.patch |
16 |
Patch3: e-smith-nutUPS-2.6.0-nutstartorder-bz11488.patch |
Patch3: e-smith-nutUPS-2.6.0-nutstartorder-bz11488.patch |
17 |
|
Patch4: e-smith-nutUPS-2.6.0-bz11633.patch |
18 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
Requires: nut nut-client daemontools |
Requires: nut nut-client daemontools |
29 |
the SME server software. |
the SME server software. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Mon Jun 21 2021 Terry Fage <tfage@yahoo.com.au> 2.6.0-12.sme |
33 |
|
- Misspelling in /usr/lib/systemd/system/nut.service file [SME: 11633] |
34 |
|
|
35 |
* Tue Mar 30 2021 Terry Fage <tfage@yahoo.com.au> 2.6.0-11.sme |
* Tue Mar 30 2021 Terry Fage <tfage@yahoo.com.au> 2.6.0-11.sme |
36 |
- fix start ordering nut.service [SME: 11488] |
- fix start ordering nut.service [SME: 11488] |
37 |
|
|
275 |
%patch1 -p1 |
%patch1 -p1 |
276 |
%patch2 -p1 |
%patch2 -p1 |
277 |
%patch3 -p1 |
%patch3 -p1 |
278 |
|
%patch4 -p1 |
279 |
|
|
280 |
rm -rf root/etc/rc.d/init.d/nut root/etc/rc.d/rc7.d/S38nut |
rm -rf root/etc/rc.d/init.d/nut root/etc/rc.d/rc7.d/S38nut |
281 |
mkdir -p root/usr/lib/systemd/system/nut-monitor.service.d root/usr/lib/systemd/system/nut-server.service.d |
mkdir -p root/usr/lib/systemd/system/nut-monitor.service.d root/usr/lib/systemd/system/nut-server.service.d |