[python-datanommer-models] Initial commit (#865535)

Ralph Bean ralph at fedoraproject.org
Thu Nov 8 12:58:54 UTC 2012


commit aca6b3aea43129269d8d3207d18ec6458d929948
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Nov 8 07:58:44 2012 -0500

    Initial commit (#865535)

 .gitignore                    |    1 +
 python-datanommer-models.spec |   68 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..baf9ce8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/datanommer.models-0.2.0.tar.gz
diff --git a/python-datanommer-models.spec b/python-datanommer-models.spec
new file mode 100644
index 0000000..4891eab
--- /dev/null
+++ b/python-datanommer-models.spec
@@ -0,0 +1,68 @@
+%global modname datanommer.models
+
+Name:           python-datanommer-models
+Version:        0.2.0
+Release:        4%{?dist}
+Summary:        SQLAlchemy models for datanommer
+
+Group:          Development/Libraries
+License:        GPLv3+
+URL:            http://pypi.python.org/pypi/%{modname}
+Source0:        http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-nose
+
+BuildRequires:  fedmsg
+Requires:       fedmsg
+
+%if %{?rhel}%{!?rhel:0} >= 6
+BuildRequires:    python-sqlalchemy0.7
+Requires:         python-sqlalchemy0.7
+%else
+BuildRequires:    python-sqlalchemy >= 0.7
+Requires:         python-sqlalchemy >= 0.7
+%endif
+
+%description
+SQLAlchemy models for datanommer.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+# Remove upstream egg-info so that it gets rebuilt.
+rm -rf *.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+
+# fedmsg owns this directory, but we're going to add a file.
+%{__mkdir_p} %{buildroot}%{_sysconfdir}/fedmsg.d/
+%{__cp} example-config.py %{buildroot}%{_sysconfdir}/fedmsg.d/datanommer.py
+
+%check
+%{__python} setup.py test
+
+%files
+%doc README.rst LICENSE
+%{python_sitelib}/datanommer/
+%{python_sitelib}/%{modname}-%{version}*
+
+%config(noreplace) %{_sysconfdir}/fedmsg.d/datanommer.py*
+
+
+%changelog
+* Mon Oct 22 2012 Ralph Bean <rbean at redhat.com> - 0.2.0-4
+- Remove explicit versioned Conflicts with old datanommer.
+* Fri Oct 12 2012 Ralph Bean <rbean at redhat.com> - 0.2.0-3
+- Remove unneccessary CFLAGS definition.
+* Thu Oct 11 2012 Ralph Bean <rbean at redhat.com> - 0.2.0-2
+- Remove upstream egg-info so that its gets rebuilt.
+* Thu Oct 11 2012 Ralph Bean <rbean at redhat.com> - 0.2.0-1
+- Initial split out from the main datanommer package.
diff --git a/sources b/sources
index e69de29..1590f56 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4d050f06bb853b9b48ed89889716d1c8  datanommer.models-0.2.0.tar.gz


More information about the scm-commits mailing list