[python-moksha-common] Initial import (#854605)

Ralph Bean ralph at fedoraproject.org
Wed Sep 5 23:47:42 UTC 2012


commit e20d4c713925c98472c7bd8303dac73039b5a19a
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Sep 5 19:47:22 2012 -0400

    Initial import (#854605)

 .gitignore                |    1 +
 python-moksha-common.spec |   66 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7f6db9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/moksha.common-1.0.0.tar.gz
diff --git a/python-moksha-common.spec b/python-moksha-common.spec
new file mode 100644
index 0000000..f0fb0ec
--- /dev/null
+++ b/python-moksha-common.spec
@@ -0,0 +1,66 @@
+%global modname moksha.common
+
+Name:           python-moksha-common
+Version:        1.0.0
+Release:        4%{?dist}
+Summary:        Common components for Moksha
+
+Group:          Development/Libraries
+License:        ASL 2.0 or MIT
+URL:            http://pypi.python.org/pypi/moksha.common
+Source0:        http://pypi.python.org/packages/source/m/%{modname}/%{modname}-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-nose
+BuildRequires:  python-mock
+
+BuildRequires:  python-decorator
+BuildRequires:  python-paste
+BuildRequires:  python-kitchen
+BuildRequires:  pytz
+
+Requires:       python-decorator
+Requires:       python-paste
+Requires:       python-kitchen
+Requires:       pytz
+
+%description
+Common components for Moksha.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+CFLAGS="%{optflags}" %{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%check
+# Tests are disabled for now because python-mock is behaving oddly in koji.
+#%%{__python} setup.py test
+
+%files
+%doc README COPYING AUTHORS
+%{python_sitelib}/moksha/
+%{python_sitelib}/%{modname}-%{version}*
+
+# The CLI tool.  :)
+%{_bindir}/moksha
+
+%changelog
+* Wed Sep 05 2012 Ralph Bean <rbean at redhat.com> - 1.0.0-4
+- Use optflags instead of RPM_OPT_FLAGS to be consistent.
+
+* Wed Sep 05 2012 Ralph Bean <rbean at redhat.com> - 1.0.0-3
+- Relicensed to ASL 2.0 or MIT for the one included MIT file.
+- Added RPM_OPT_FLAGS to build section.
+
+* Wed Sep 05 2012 Ralph Bean <rbean at redhat.com> - 1.0.0-2
+- Disabled tests since they're behaving strangely in koji.
+
+* Tue Sep 04 2012 Ralph Bean <rbean at redhat.com> - 1.0.0-1
+- Initial package for Fedora.  Split from old moksha core.
diff --git a/sources b/sources
index e69de29..61a9e94 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+efb042cd9b1a1c14ffbcaca7ff3d0e34  moksha.common-1.0.0.tar.gz


More information about the scm-commits mailing list