Use https instead of git when building documentation
This commit is contained in:
parent
e4cc5e71b5
commit
508772ed60
2
fmt.spec
2
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
|
||||
|
11
fmt_build_github.patch
Normal file
11
fmt_build_github.patch
Normal 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])
|
||||
|
Loading…
Reference in New Issue
Block a user