[python-lamson] Remove python-mock dependency
kumarpraveen
kumarpraveen at fedoraproject.org
Fri Aug 5 02:23:50 UTC 2011
commit 0161f67323fec77d8bd155e101438fa361ea0750
Author: Praveen <daredevil at localhost.localdomain>
Date: Fri Aug 5 07:52:56 2011 +0530
Remove python-mock dependency
python-lamson.spec | 10 ++++++++--
setup.patch | 10 ++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/python-lamson.spec b/python-lamson.spec
index a41e826..cb23f55 100644
--- a/python-lamson.spec
+++ b/python-lamson.spec
@@ -2,22 +2,23 @@
Name: python-lamson
Version: 1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A modern Pythonic mail server
Group: Development/Libraries
License: GPLv3
URL: http://pypi.python.org/pypi/%{mod_name}
Source0: http://pypi.python.org/packages/source/l/%{mod_name}/%{mod_name}-%{version}.tar.gz
+Patch0: setup.patch
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-chardet
BuildRequires: python-jinja2
-BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-daemon
+BuildRequires: python-lockfile
%description
Lamson is a pure Python SMTP server designed to create robust and complex mail
@@ -31,6 +32,8 @@ frameworks and Python libraries.
%prep
%setup -q -n %{mod_name}-%{version}
+%patch0 -p0
+
rm -f doc/lamsonproject.org/output/favicon.ico
sed -i "s|\r||g" doc/lamsonproject.org/Session.vim
sed -i "s|\r||g" README
@@ -51,5 +54,8 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/%{mod_name}
%changelog
+* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 1.1-2
+- Remove python-mock dependency
+
* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 1.1-1
- Initial RPM release
diff --git a/setup.patch b/setup.patch
new file mode 100644
index 0000000..4f60840
--- /dev/null
+++ b/setup.patch
@@ -0,0 +1,10 @@
+--- lamson-1.1/setup.py 2011-01-11 05:34:26.000000000 +0530
++++ setup.py 2011-08-05 07:03:47.921070566 +0530
+@@ -6,6 +6,6 @@
+ from distutils.core import setup
+
+ # from options["setup"] in build.vel
+-config = {'package_data': {'lamson': ['data/prototype.zip']}, 'description': 'Lamson is a modern Pythonic mail server built like a web application server.', 'author': 'Zed A. Shaw', 'url': 'http://pypi.python.org/pypi/lamson', 'download_url': 'http://pypi.python.org/pypi/lamson', 'author_email': 'zedshaw at zedshaw.com', 'version': '1.1', 'scripts': ['bin/lamson'], 'install_requires': ['chardet', 'jinja2', 'mock', 'nose', 'python-daemon'], 'packages': ['lamson', 'lamson.handlers'], 'name': 'lamson'}
++config = {'package_data': {'lamson': ['data/prototype.zip']}, 'description': 'Lamson is a modern Pythonic mail server built like a web application server.', 'author': 'Zed A. Shaw', 'url': 'http://pypi.python.org/pypi/lamson', 'download_url': 'http://pypi.python.org/pypi/lamson', 'author_email': 'zedshaw at zedshaw.com', 'version': '1.1', 'scripts': ['bin/lamson'], 'install_requires': ['chardet', 'jinja2', 'nose', 'python-daemon'], 'packages': ['lamson', 'lamson.handlers'], 'name': 'lamson'}
+ setup(**config)
+
More information about the scm-commits
mailing list