1 |
# $Id: smeserver-sendmail-wrapper.spec,v 1.2 2018/03/03 05:08:40 jpp Exp $ |
# $Id: smeserver-sendmail-wrapper.spec,v 1.3 2018/03/03 05:35:37 jpp Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
5 |
Summary: smeserver-sendmail-wrapper |
Summary: smeserver-sendmail-wrapper |
6 |
%define name smeserver-sendmail-wrapper |
%define name smeserver-sendmail-wrapper |
7 |
%define version 0.1 |
%define version 0.1 |
8 |
%define release 2 |
%define release 3 |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
14 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-sendmail-wrapper-0.1-logfile.patch |
Patch0: smeserver-sendmail-wrapper-0.1-logfile.patch |
16 |
Patch1: smeserver-sendmail-wrapper-0.1-domainName.patch |
Patch1: smeserver-sendmail-wrapper-0.1-domainName.patch |
17 |
|
Patch2: smeserver-sendmail-wrapper-0.1-fixlogrotate.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
%setup |
%setup |
29 |
%patch0 -p1 |
%patch0 -p1 |
30 |
%patch1 -p1 |
%patch1 -p1 |
31 |
|
%patch2 -p1 |
32 |
mkdir -p root/var/log/sendmail |
mkdir -p root/var/log/sendmail |
33 |
|
|
34 |
%build |
%build |
52 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
53 |
|
|
54 |
%changelog |
%changelog |
55 |
|
* Wed Mar 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme |
56 |
|
- fix error on logrotate [SME: 10525] |
57 |
|
|
58 |
* Fri Mar 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme |
* Fri Mar 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme |
59 |
- fix log not accessible [SME: 10525] |
- fix log not accessible [SME: 10525] |
60 |
moved to a www writable directory, also a logrotate has been added |
moved to a www writable directory, also a logrotate has been added |