Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
7e126808
Commit
7e126808
authored
8 years ago
by
Stuart D. Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Builds on el6,el7,f24
parent
d6337e56
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
py3milter.spec
+12
-3
12 additions, 3 deletions
py3milter.spec
pymilter.spec
+13
-4
13 additions, 4 deletions
pymilter.spec
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
26 additions
and
8 deletions
py3milter.spec
+
12
−
3
View file @
7e126808
%if 0%{?rhel} == 7
%define pythonbase python34
%else
%define pythonbase python3
%define pythonbase python3
%endif
%define __python python3
%define __python python3
%define libdir %{_libdir}/pymilter
%define libdir %{_libdir}/pymilter
...
@@ -6,7 +10,7 @@
...
@@ -6,7 +10,7 @@
Summary: Python interface to sendmail milter API
Summary: Python interface to sendmail milter API
Name: %{pythonbase}-pymilter
Name: %{pythonbase}-pymilter
Version: 1.1
Version: 1.
0.
1
Release: 1%{dist}
Release: 1%{dist}
Source: http://downloads.sourceforge.net/pymilter/pymilter-%{version}.tar.gz
Source: http://downloads.sourceforge.net/pymilter/pymilter-%{version}.tar.gz
Source1: pymilter.te
Source1: pymilter.te
...
@@ -34,7 +38,12 @@ DSNs, and doing CBV.
...
@@ -34,7 +38,12 @@ DSNs, and doing CBV.
Summary: SELinux policy module for pymilter
Summary: SELinux policy module for pymilter
Group: System Environment/Base
Group: System Environment/Base
Requires: policycoreutils, selinux-policy, %{name}
Requires: policycoreutils, selinux-policy, %{name}
BuildRequires: policycoreutils, checkpolicy, policycoreutils-python-utils
BuildRequires: policycoreutils, checkpolicy
%if 0%{?epel} >= 6
BuildRequires: policycoreutils-python
%else
BuildRequires: policycoreutils-python-utils
%endif
%description selinux
%description selinux
SELinux policy module for using pymilter with sendmail with selinux enforcing
SELinux policy module for using pymilter with sendmail with selinux enforcing
...
@@ -85,7 +94,7 @@ if [ $1 -eq 0 ] ; then
...
@@ -85,7 +94,7 @@ if [ $1 -eq 0 ] ; then
fi
fi
%changelog
%changelog
* Tue Sep 20 2016 Stuart Gathman <stuart@gathman.org> 1.1-1
* Tue Sep 20 2016 Stuart Gathman <stuart@gathman.org> 1.
0.
1-1
- Support python3
- Support python3
* Sat Mar 1 2014 Stuart Gathman <stuart@gathman.org> 1.0-2
* Sat Mar 1 2014 Stuart Gathman <stuart@gathman.org> 1.0-2
...
...
This diff is collapsed.
Click to expand it.
pymilter.spec
+
13
−
4
View file @
7e126808
%define __python python2.6
%define __python python2
%if 0%{?rhel} == 6
%define pythonbase python
%define pythonbase python
%else
%define pythonbase python2
%endif
%define libdir %{_libdir}/pymilter
%define libdir %{_libdir}/pymilter
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Summary: Python interface to sendmail milter API
Summary: Python interface to sendmail milter API
Name: %{pythonbase}-pymilter
Name: %{pythonbase}-pymilter
Version: 1.1
Version: 1.
0.
1
Release: 1%{dist}
Release: 1%{dist}
Source: http://downloads.sourceforge.net/pymilter/pymilter-%{version}.tar.gz
Source: http://downloads.sourceforge.net/pymilter/pymilter-%{version}.tar.gz
Source1: pymilter.te
Source1: pymilter.te
...
@@ -34,7 +38,12 @@ DSNs, and doing CBV.
...
@@ -34,7 +38,12 @@ DSNs, and doing CBV.
Summary: SELinux policy module for pymilter
Summary: SELinux policy module for pymilter
Group: System Environment/Base
Group: System Environment/Base
Requires: policycoreutils, selinux-policy, %{name}
Requires: policycoreutils, selinux-policy, %{name}
BuildRequires: policycoreutils, checkpolicy, policycoreutils-python-utils
BuildRequires: policycoreutils, checkpolicy
%if 0%{?epel} >= 6
BuildRequires: policycoreutils-python
%else
BuildRequires: policycoreutils-python-utils
%endif
%description selinux
%description selinux
SELinux policy module for using pymilter with sendmail with selinux enforcing
SELinux policy module for using pymilter with sendmail with selinux enforcing
...
@@ -84,7 +93,7 @@ if [ $1 -eq 0 ] ; then
...
@@ -84,7 +93,7 @@ if [ $1 -eq 0 ] ; then
fi
fi
%changelog
%changelog
* Tue Sep 20 2016 Stuart Gathman <stuart@gathman.org> 1.1-1
* Tue Sep 20 2016 Stuart Gathman <stuart@gathman.org> 1.
0.
1-1
- Support python3
- Support python3
* Sat Mar 1 2014 Stuart Gathman <stuart@gathman.org> 1.0-2
* Sat Mar 1 2014 Stuart Gathman <stuart@gathman.org> 1.0-2
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
7e126808
...
@@ -13,7 +13,7 @@ libs = ["milter"]
...
@@ -13,7 +13,7 @@ libs = ["milter"]
libdirs
=
[
"
/usr/lib/libmilter
"
]
# needed for Debian
libdirs
=
[
"
/usr/lib/libmilter
"
]
# needed for Debian
# NOTE: importing Milter to obtain version fails when milter.so not built
# NOTE: importing Milter to obtain version fails when milter.so not built
setup
(
name
=
"
pymilter
"
,
version
=
'
1.0
'
,
setup
(
name
=
"
pymilter
"
,
version
=
'
1.0
.1
'
,
description
=
"
Python interface to sendmail milter API
"
,
description
=
"
Python interface to sendmail milter API
"
,
long_description
=
"""
\
long_description
=
"""
\
This is a python extension module to enable python scripts to
This is a python extension module to enable python scripts to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment