[openlmi-storage] Net upstream release
Jan Šafránek
jsafrane at fedoraproject.org
Fri Dec 5 12:14:27 UTC 2014
commit 6516c733e244a1072edb0433d64ecf59775f3d9e
Author: Jan Safranek <jsafrane at redhat.com>
Date: Fri Dec 5 13:14:27 2014 +0100
Net upstream release
openlmi-storage.spec | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/openlmi-storage.spec b/openlmi-storage.spec
index 4eeca1c..2f09b90 100644
--- a/openlmi-storage.spec
+++ b/openlmi-storage.spec
@@ -1,19 +1,30 @@
%global logfile %{_localstatedir}/log/openlmi-install.log
+# For compilation on machine without internet access, download sphinx inventory
+# http://docs.openlmi.org/en/latest/objects.inv, place it to the same
+# directory as openlmi-providers.spec and set offline_build below to 1.
+# This will keep links to docs.openlmi.org working.
+# NOTE: refresh objects.inv once in a while, ideally before each build!
+%global offline_build 1
+
Name: openlmi-storage
-Version: 0.8.0
-Release: 2%{?dist}
+Version: 0.8.1
+Release: 1%{?dist}
Summary: CIM providers for storage management
License: LGPLv2+
URL: http://fedorahosted.org/openlmi
Source0: https://fedorahosted.org/released/openlmi-storage/%{name}-%{version}.tar.gz
+%if 0%{offline_build}
+Source1: http://docs.openlmi.org/en/latest/objects.inv
+%endif
+
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python2-devel
# To generate documentation
BuildRequires: python-sphinx
-BuildRequires: python-sphinx-theme-openlmi
+BuildRequires: python-sphinx_rtd_theme
Requires: cmpi-bindings-pywbem
Requires: python-blivet
@@ -49,6 +60,10 @@ Summary: Documentation for %{name}
%setup -q
%build
+%if 0%{offline_build}
+cp %{SOURCE1} doc/admin/objects.inv
+%endif
+
%{__python} setup.py build
%install
@@ -161,6 +176,9 @@ fi >> %logfile 2>&1
%{_docdir}/%{name}/admin_guide
%changelog
+* Thu Dec 4 2014 Jan Safranek <jsafrane at redhat.com> - 0.8.1-1
+- New upstream release.
+
* Wed Nov 26 2014 Jan Safranek <jsafrane at redhat.com> - 0.8.0-2
- Take ownership of /run/openlmi-storage directory.
More information about the scm-commits
mailing list