1 |
# $Id: smeserver-centos2sme.spec,v 1.3 2020/04/17 16:19:34 jpp Exp $ |
# $Id: smeserver-centos2sme.spec,v 1.6 2021/03/20 18:51:54 jpp Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
6 |
%define name smeserver-centos2sme |
%define name smeserver-centos2sme |
7 |
%define version 6.9.1 |
%define version 6.9.1 |
8 |
# version number CentosMajorVersion.SMEmajorVersion.RPMversion |
# version number CentosMajorVersion.SMEmajorVersion.RPMversion |
9 |
%define release 8 |
%define release 11 |
10 |
Name: %{name} |
Name: %{name} |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
17 |
Patch1: smeserver-centos2sme-6.9.1-bz10535-improvements.patch |
Patch1: smeserver-centos2sme-6.9.1-bz10535-improvements.patch |
18 |
Patch2: smeserver-centos2sme-6.9.1-firstSME10.patch |
Patch2: smeserver-centos2sme-6.9.1-firstSME10.patch |
19 |
Patch3: smeserver-centos2sme-6.9.1-SME10-2.patch |
Patch3: smeserver-centos2sme-6.9.1-SME10-2.patch |
20 |
|
Patch4: smeserver-centos2sme-6.9.1-secondSME10.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArch: noarch |
BuildArch: noarch |
34 |
%patch1 -p1 |
%patch1 -p1 |
35 |
%patch2 -p1 |
%patch2 -p1 |
36 |
%patch3 -p1 |
%patch3 -p1 |
37 |
|
%patch4 -p1 |
38 |
|
mkdir -p root/etc/e-smith/events/smeserver-centos2sme |
39 |
|
|
40 |
%build |
%build |
41 |
# /usr/bin/perl createlinks |
# /usr/bin/perl createlinks |
58 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
|
* Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-11.sme |
62 |
|
- fix typo [SME: 10850] |
63 |
|
|
64 |
|
* Sat Mar 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-10.sme |
65 |
|
- create empty smeserver-centos2sme [SME: 10850] |
66 |
|
should not be necessary as it should be installed on bare CentOS, not on SME... |
67 |
|
|
68 |
|
* Sat Mar 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-9.sme |
69 |
|
- use systemctl when needed [SME: 10850] |
70 |
|
- fix issue with sshd not reloading and locking user [SME: 10850] |
71 |
|
- remove rpm -e dhcp-common |
72 |
|
|
73 |
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-8.sme |
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-8.sme |
74 |
- improve script |
- improve script |
75 |
- TODO: *some deps are forced, might be added as dep for e-smith-base |
- TODO: *some deps are forced, might be added as dep for e-smith-base |