/[smecontribs]/rpms/smeserver-sendmail-wrapper/contribs9/smeserver-sendmail-wrapper.spec
ViewVC logotype

Diff of /rpms/smeserver-sendmail-wrapper/contribs9/smeserver-sendmail-wrapper.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Fri Aug 18 17:05:57 2017 UTC Revision 1.2 by jpp, Sat Mar 3 05:08:40 2018 UTC
# Line 1  Line 1 
1  # $Id: smeserver-sendmail-wrapper.spec,v 1.10 2017/02/06 17:01:42 unnilennium Exp $  # $Id: smeserver-sendmail-wrapper.spec,v 1.1 2017/08/18 17:05:57 unnilennium 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 1  %define release 2
9  Name: %{name}  Name: %{name}
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Applications/System  Group: Applications/System
14  Source: %{name}-%{version}.tgz  Source: %{name}-%{version}.tgz
15    Patch0: smeserver-sendmail-wrapper-0.1-logfile.patch
16  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  BuildArch: noarch  BuildArch: noarch
18  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
# Line 23  This is intended to introduce a little m Line 24  This is intended to introduce a little m
24    
25  %prep  %prep
26  %setup  %setup
27    %patch0 -p1
28    mkdir -p root/var/log/sendmail
29    
30  %build  %build
31  #/usr/bin/perl createlinks  #/usr/bin/perl createlinks
# Line 31  This is intended to introduce a little m Line 34  This is intended to introduce a little m
34  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
35  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
36  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
37  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
38    | grep -v var/log/sendmail > %{name}-%{version}-filelist
39    
40  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
41  %defattr(-,root,root,-)  %defattr(-,root,root,-)
42    %attr( 770 , www,www) /var/log/sendmail
43    
44  %clean  %clean
45  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 43  rm -rf $RPM_BUILD_ROOT Line 48  rm -rf $RPM_BUILD_ROOT
48  touch /etc/hosts.deny_ssh  touch /etc/hosts.deny_ssh
49    
50  %changelog  %changelog
51    * Fri Mar 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
52    - fix log not accessible [SME: 10525]
53    
54  * Fri Aug 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme  * Fri Aug 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
55  - Initial version  - Initial version


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed