Use https instead of git when building documentation

This commit is contained in:
Dave Johansen 2016-12-29 19:07:09 -07:00
parent e4cc5e71b5
commit 508772ed60
2 changed files with 13 additions and 0 deletions

View File

@ -6,6 +6,8 @@ Summary: Small, safe and fast formatting library for C++
License: BSD
URL: https://github.com/fmtlib/fmt
Source0: https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# See https://github.com/fmtlib/fmt/issues/443
Patch0: fmt_build_github.patch
%if 0%{?rhel}
BuildRequires: cmake3

11
fmt_build_github.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/doc/build.py
+++ b/doc/build.py
@@ -14,7 +14,7 @@
#if check_version in output:
# print('{} already installed'.format(package))
# return
- package = 'git+git://github.com/{0}.git@{1}'.format(package, commit)
+ package = 'git+https://github.com/{0}.git@{1}'.format(package, commit)
print('Installing {}'.format(package))
check_call(['pip', 'install', package])