| 1 ## |
1 ## |
| 2 ## postfix.spec -- OpenPKG RPM Package Specification |
2 ## postfix.spec -- OpenPKG RPM Package Specification |
| 3 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> |
3 ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/> |
| 4 ## |
4 ## |
| 5 ## Permission to use, copy, modify, and distribute this software for |
5 ## Permission to use, copy, modify, and distribute this software for |
| 6 ## any purpose with or without fee is hereby granted, provided that |
6 ## any purpose with or without fee is hereby granted, provided that |
| 7 ## the above copyright notice and this permission notice appear in all |
7 ## the above copyright notice and this permission notice appear in all |
| 8 ## copies. |
8 ## copies. |
| 139 %setup -q -T -D -a 1 |
139 %setup -q -T -D -a 1 |
| 140 |
140 |
| 141 # apply OpenPKG patches |
141 # apply OpenPKG patches |
| 142 %patch -p0 |
142 %patch -p0 |
| 143 ( cd pflogsumm-%{V_pflogsumm} && %{l_patch} -p0 -b <%{PATCH1} ) || exit $? |
143 ( cd pflogsumm-%{V_pflogsumm} && %{l_patch} -p0 -b <%{PATCH1} ) || exit $? |
| |
144 |
| |
145 # remove OpenPKG privelege model incompatible exit conditions |
| |
146 %{l_shtool} subst \ |
| |
147 -e 's;msg_fatal\(.*attribute specifies mail system\);msg_info\1;g' \ |
| |
148 src/pipe/pipe.c |
| 144 |
149 |
| 145 # apply vendor WHOSON patch |
150 # apply vendor WHOSON patch |
| 146 %if "%{with_whoson}" == "yes" |
151 %if "%{with_whoson}" == "yes" |
| 147 %patch -p0 -P 2 |
152 %patch -p0 -P 2 |
| 148 %endif |
153 %endif |