From 508772ed607794ca78531d59cc2ec75e86b22193 Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Thu, 29 Dec 2016 19:07:09 -0700 Subject: [PATCH] Use https instead of git when building documentation --- fmt.spec | 2 ++ fmt_build_github.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 fmt_build_github.patch diff --git a/fmt.spec b/fmt.spec index 34f9ad6..1fe028d 100644 --- a/fmt.spec +++ b/fmt.spec @@ -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 diff --git a/fmt_build_github.patch b/fmt_build_github.patch new file mode 100644 index 0000000..4695718 --- /dev/null +++ b/fmt_build_github.patch @@ -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]) +