1 |
# $Id: e-smith-lib.spec,v 1.14 2021/01/02 06:45:27 jpp Exp $ |
# $Id: e-smith-lib.spec,v 1.18 2022/11/23 22:07:12 jpp Exp $ |
2 |
|
|
3 |
%define copykooz 2013-2021 |
%define copykooz 2013-2021 |
4 |
|
|
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 14 |
%define release 16 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: Artistic |
License: Artistic |
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 |
Patch8: e-smith-lib-2.6.0-bz11570-copyrights.patch |
24 |
|
Patch9: e-smith-lib-2.6.0-bz11723.patch |
25 |
|
Patch10: e-smith-lib-2.6.0-bz12194-allowSystemctlAliases.patch |
26 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
47 |
|
- allow call to systemctl aliases in etc [SME: 12194] |
48 |
|
fix network=>networking service is not restarted. |
49 |
|
|
50 |
|
* Thu Oct 28 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
51 |
|
- add support for service with instances [SME: 11723] |
52 |
|
|
53 |
* Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
* Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
54 |
- update copyright dates, and make it easier to change from spec file [SME: 11570] |
- update copyright dates, and make it easier to change from spec file [SME: 11570] |
55 |
|
|
885 |
mkdir root/etc/e-smith/events/e-smith-lib-update |
mkdir root/etc/e-smith/events/e-smith-lib-update |
886 |
%patch7 -p1 |
%patch7 -p1 |
887 |
%patch8 -p1 |
%patch8 -p1 |
888 |
|
%patch9 -p1 |
889 |
|
%patch10 -p1 |
890 |
|
|
891 |
%pre |
%pre |
892 |
|
|
899 |
mkdir -p root/etc/e-smith/events/$event |
mkdir -p root/etc/e-smith/events/$event |
900 |
done |
done |
901 |
perl createlinks |
perl createlinks |
902 |
|
find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g' |
903 |
|
|
904 |
%install |
%install |
905 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |