1 |
# $Id: e-smith-lib.spec,v 1.12 2020/11/26 18:02:12 jpp Exp $ |
# $Id: e-smith-lib.spec,v 1.16 2021/04/20 03:25:45 jpp Exp $ |
2 |
|
|
3 |
|
%define copykooz 2013-2021 |
4 |
|
|
5 |
Summary: e-smith server and gateway - library module |
Summary: e-smith server and gateway - library module |
6 |
%define name e-smith-lib |
%define name e-smith-lib |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.6.0 |
%define version 2.6.0 |
9 |
%define release 12 |
%define release 15 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: Artistic |
License: Artistic |
20 |
Patch5: e-smith-lib-2.6.0.bz10848.systemctl-reload-or-restart.patch |
Patch5: e-smith-lib-2.6.0.bz10848.systemctl-reload-or-restart.patch |
21 |
Patch6: e-smith-lib-2.6.0-bz11177-systemd.patch |
Patch6: e-smith-lib-2.6.0-bz11177-systemd.patch |
22 |
Patch7: e-smith-lib-2.6.0-bz11177-signals.patch |
Patch7: e-smith-lib-2.6.0-bz11177-signals.patch |
23 |
|
Patch8: e-smith-lib-2.6.0-bz11570-copyrights.patch |
24 |
|
Patch9: e-smith-lib-2.6.0-bz11723.patch |
25 |
|
|
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
42 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Thu Oct 28 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
46 |
|
- add support for service with instances [SME: 11723] |
47 |
|
|
48 |
|
* Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
49 |
|
- update copyright dates, and make it easier to change from spec file [SME: 11570] |
50 |
|
|
51 |
|
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
52 |
|
- partial revert of signals [SME: 11177] |
53 |
|
signal s not passed to runit services (dnscache*, qmail, qpsmtpd...) |
54 |
|
services handled by systemd crash if they do not have Restart=always defined |
55 |
|
|
56 |
* Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
* Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
57 |
- add support for signals SIG* with systemd [SME: 11177] |
- add support for signals SIG* with systemd [SME: 11177] |
58 |
fix typo for reload-or-try-restart |
fix typo for reload-or-try-restart |
879 |
# creating an event that do nothing. db init is done every time by yum already. |
# creating an event that do nothing. db init is done every time by yum already. |
880 |
mkdir root/etc/e-smith/events/e-smith-lib-update |
mkdir root/etc/e-smith/events/e-smith-lib-update |
881 |
%patch7 -p1 |
%patch7 -p1 |
882 |
|
%patch8 -p1 |
883 |
|
%patch9 -p1 |
884 |
|
|
885 |
%pre |
%pre |
886 |
|
|
893 |
mkdir -p root/etc/e-smith/events/$event |
mkdir -p root/etc/e-smith/events/$event |
894 |
done |
done |
895 |
perl createlinks |
perl createlinks |
896 |
|
find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g' |
897 |
|
|
898 |
%install |
%install |
899 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |