%global srcname pOCCI
-%global commit 8b98b058bc19823987212eea662e4e8e9ead9dd6
+%global commit d7ab21ffa78d0a20ae0cfeb532c07534b4a69a62
%global shortcommit %(c=%{commit}; echo ${c:0:7})
# compatibility macros
%endif
Name: python-%{srcname}
-Version: 0.0.2
-Release: 0.20150916git%{shortcommit}%{?dist}
+Version: 1.0.2
+Release: 0.20161005git%{shortcommit}%{?dist}
Summary: OCCI compliance testing
License: MIT
%if 0%{?with_python3}
BuildRequires: python3-devel python3-pycurl
%endif
+BuildRequires: pandoc
BuildRequires: python-sphinx
%description
%build
pushd python2
%py2_build
+pandoc -t rst < README.md > README.rst
make html
rm -f build/html/.buildinfo
popd
%if 0%{?with_python3}
%files -n python3-%{srcname}
%license python3/LICENSE
-%doc python3/README.rst
+%doc python3/README.md
%doc python3/%{srcname}/pOCCI.cfg
%{python3_sitelib}/%{srcname}/
%{python3_sitelib}/%{srcname}-%{version}*.egg-info/
%changelog
-* Wed Sep 16 2015 František Dvořák <valtri@civ.zcu.cz> - 0.0.2-0.20150916git8b98b05
+* Tue Oct 04 2016 František Dvořák <valtri@civ.zcu.cz> - 1.0.2-0.20161005gitd7ab21f
- Initial package