Fix cmake.prov error

This commit is contained in:
Orion Poplawski 2017-02-09 11:24:13 -07:00
parent ad2cd5b89b
commit 72646fef46
2 changed files with 5 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class CMakeParser:
configFile = glob.glob("%s/*-config.cmake" % modulePath)
lowercase = True
if not configFile:
return (None, None)
return (None, None, None)
if lowercase:
moduleName = configFile[0][len(modulePath) + 1:-len("-config.cmake")]

View File

@ -43,7 +43,7 @@
Name: %{orig_name}%{?name_suffix}
Version: %{major_version}.%{minor_version}.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Cross-platform make system
# most sources are BSD
@ -399,6 +399,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog
* Thu Feb 9 2017 Orion Poplawski <orion@cora.nwra.com> - 3.7.2-2
- Fix cmake.prov error
* Fri Jan 13 2017 Orion Poplawski <orion@cora.nwra.com> - 3.7.2-1
- Update to 3.7.2