Use https instead of git when building documentation

epel9
Dave Johansen 8 years ago
parent e4cc5e71b5
commit 508772ed60

@ -6,6 +6,8 @@ Summary: Small, safe and fast formatting library for C++
License: BSD License: BSD
URL: https://github.com/fmtlib/fmt URL: https://github.com/fmtlib/fmt
Source0: https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz 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} %if 0%{?rhel}
BuildRequires: cmake3 BuildRequires: cmake3

@ -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])
Loading…
Cancel
Save