Fedora release
This commit is contained in:
+5
-2
@@ -35,6 +35,9 @@ $ python setup.py help
|
|||||||
libraries=["milter","smutil","resolv"]
|
libraries=["milter","smutil","resolv"]
|
||||||
|
|
||||||
* $Log$
|
* $Log$
|
||||||
|
* Revision 1.15 2008/12/13 20:29:56 customdesigned
|
||||||
|
* Split off milter applications.
|
||||||
|
*
|
||||||
* Revision 1.14 2008/12/04 19:43:00 customdesigned
|
* Revision 1.14 2008/12/04 19:43:00 customdesigned
|
||||||
* Doc updates.
|
* Doc updates.
|
||||||
*
|
*
|
||||||
@@ -1146,8 +1149,8 @@ milter_replacebody(PyObject *self, PyObject *args) {
|
|||||||
ctx = _find_context(self);
|
ctx = _find_context(self);
|
||||||
if (ctx == NULL) return NULL;
|
if (ctx == NULL) return NULL;
|
||||||
t = PyEval_SaveThread();
|
t = PyEval_SaveThread();
|
||||||
return _thread_return(t,smfi_replacebody(ctx, bodyp, bodylen),
|
return _thread_return(t,smfi_replacebody(ctx,
|
||||||
"cannot replace message body");
|
(unsigned char *)bodyp, bodylen), "cannot replace message body");
|
||||||
}
|
}
|
||||||
|
|
||||||
static char milter_setpriv__doc__[] =
|
static char milter_setpriv__doc__[] =
|
||||||
|
|||||||
+6
-5
@@ -1,6 +1,7 @@
|
|||||||
%define __python python2.4
|
%define __python python
|
||||||
|
#define __python python2.4
|
||||||
%define version 0.9.0
|
%define version 0.9.0
|
||||||
%define release 1.el4
|
%define release 1%{dist}
|
||||||
%define libdir %{_libdir}/pymilter
|
%define libdir %{_libdir}/pymilter
|
||||||
%define name pymilter
|
%define name pymilter
|
||||||
%define redhat7 0
|
%define redhat7 0
|
||||||
@@ -9,11 +10,11 @@ Summary: Python interface to sendmail milter API
|
|||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}
|
Release: %{release}
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: http://downloads.sf.net/pymilter/%{name}-%{version}.tar.gz
|
||||||
#Patch: %{name}-%{version}.patch
|
#Patch: %{name}-%{version}.patch
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
Vendor: Stuart D. Gathman <stuart@bmsi.com>
|
Vendor: Stuart D. Gathman <stuart@bmsi.com>
|
||||||
Url: http://www.bmsi.com/python/milter.html
|
Url: http://www.bmsi.com/python/milter.html
|
||||||
Requires: %{__python} >= 2.4, sendmail >= 8.13
|
Requires: %{__python} >= 2.4, sendmail >= 8.13
|
||||||
@@ -61,7 +62,7 @@ EOF
|
|||||||
%endif
|
%endif
|
||||||
chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
|
chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
|
||||||
%if !%{redhat7}
|
%if !%{redhat7}
|
||||||
#grep '.pyc$' INSTALLED_FILES | sed -e 's/c$/o/' >>INSTALLED_FILES
|
grep '.pyc$' INSTALLED_FILES | sed -e 's/c$/o/' >>INSTALLED_FILES
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# start.sh is used by spfmilter and milter, and could be used by
|
# start.sh is used by spfmilter and milter, and could be used by
|
||||||
|
|||||||
Reference in New Issue
Block a user