Skip to content
Snippets Groups Projects
Commit 91183641 authored by Stuart Gathman's avatar Stuart Gathman
Browse files

Fedora release

parent 577c0bd1
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,9 @@ $ python setup.py help
libraries=["milter","smutil","resolv"]
* $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
* Doc updates.
*
......@@ -1146,8 +1149,8 @@ milter_replacebody(PyObject *self, PyObject *args) {
ctx = _find_context(self);
if (ctx == NULL) return NULL;
t = PyEval_SaveThread();
return _thread_return(t,smfi_replacebody(ctx, bodyp, bodylen),
"cannot replace message body");
return _thread_return(t,smfi_replacebody(ctx,
(unsigned char *)bodyp, bodylen), "cannot replace message body");
}
static char milter_setpriv__doc__[] =
......
%define __python python2.4
%define __python python
#define __python python2.4
%define version 0.9.0
%define release 1.el4
%define release 1%{dist}
%define libdir %{_libdir}/pymilter
%define name pymilter
%define redhat7 0
......@@ -9,11 +10,11 @@ Summary: Python interface to sendmail milter API
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Source: http://downloads.sf.net/pymilter/%{name}-%{version}.tar.gz
#Patch: %{name}-%{version}.patch
License: GPLv2+
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Vendor: Stuart D. Gathman <stuart@bmsi.com>
Url: http://www.bmsi.com/python/milter.html
Requires: %{__python} >= 2.4, sendmail >= 8.13
......@@ -61,7 +62,7 @@ EOF
%endif
chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
%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
# start.sh is used by spfmilter and milter, and could be used by
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment