hguemar pushed to python-oslo-log (f22). "Initial import (RHBZ #1206528)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 12:52:13 UTC 2015


>From 214fb1d62f5fe3d1da7e3bf47d5bf15535643936 Mon Sep 17 00:00:00 2001
From: Haikel Guemar <hguemar at fedoraproject.org>
Date: Mon, 30 Mar 2015 14:44:03 +0200
Subject: Initial import (RHBZ #1206528)


diff --git a/.gitignore b/.gitignore
index e69de29..4a8ca37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oslo.log-1.0.0.tar.gz
diff --git a/python-oslo-log.spec b/python-oslo-log.spec
new file mode 100644
index 0000000..10d975d
--- /dev/null
+++ b/python-oslo-log.spec
@@ -0,0 +1,79 @@
+%{!?_licensedir:%global license %%doc}
+%global pypi_name oslo.log
+
+Name:           python-oslo-log
+Version:        1.0.0
+Release:        1%{?dist}
+Summary:        OpenStack Oslo Log library
+
+License:        ASL 2.0
+URL:            http://launchpad.net/oslo
+Source0:        https://pypi.python.org/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-pbr
+
+Requires:       python-babel
+Requires:       python-six >= 1.9.0
+Requires:       python-iso8601
+Requires:       python-oslo-config
+Requires:       python-oslo-context
+Requires:       python-oslo-i18n
+Requires:       python-oslo-utils
+Requires:       python-oslo-serialization
+
+%description
+OpenStack logging configuration library provides standardized configuration
+for all openstack projects. It also provides custom formatters, handlers and
+support for context specific logging (like resource id’s etc).
+
+%package doc
+Summary:    Documentation for the Oslo Log handling library
+
+BuildRequires:  python-sphinx
+BuildRequires:  python-oslo-sphinx
+BuildRequires:  python-oslo-config
+BuildRequires:  python-oslo-utils
+BuildRequires:  python-oslo-context
+
+%description doc
+Documentation for the Oslo Log handling library.
+
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+# Let RPM handle the dependencies
+rm -f requirements.txt
+
+
+%build
+%{__python2} setup.py build
+
+# generate html docs
+sphinx-build doc/source html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc README.rst
+%license LICENSE ChangeLog AUTHORS
+%{python2_sitelib}/oslo_log
+%{python2_sitelib}/*.egg-info
+
+%files doc
+%doc html
+%license LICENSE
+
+%changelog
+* Thu Mar 26 2015 Haïkel Guémar <hguemar at fedoraproject.org> - 1.0.0-1
+- Upstream 1.0.0
+- Based on Derek Higgins spec from Delorean
+
diff --git a/sources b/sources
index e69de29..f8ab281 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+37f5dc8642e9bee93ec2897333f0152d  oslo.log-1.0.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-oslo-log.git/commit/?h=f22&id=214fb1d62f5fe3d1da7e3bf47d5bf15535643936


More information about the scm-commits mailing list