From 5f6ca04575b3f1039ccb864803b9e98a423b5765 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 23 Nov 2016 16:32:21 -0500 Subject: [PATCH] Use compat-openssl10-devel on F26+ --- sscg.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sscg.spec b/sscg.spec index 4e7abe2..63be013 100644 --- a/sscg.spec +++ b/sscg.spec @@ -12,7 +12,7 @@ Name: %{repo} Version: 1.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Simple SSL certificate generator License: BSD @@ -21,7 +21,13 @@ Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{version}- ExclusiveArch: %{go_arches} BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} + +%if 0%{?fedora} < 26 BuildRequires: openssl-devel +%else +BuildRequires: compat-openssl10-devel +%endif + BuildRequires: golang(github.com/spacemonkeygo/spacelog) Provides: bundled(golang(github.com/spacemonkeygo/openssl)) @@ -58,6 +64,9 @@ install -p -m 755 bin/%{name} %{buildroot}%{_bindir} %{_bindir}/%{repo} %changelog +* Wed Nov 23 2016 Stephen Gallagher - 1.1.0-4 +- Use compat-openssl10-devel on F26+ + * Thu Jul 21 2016 Fedora Release Engineering - 1.1.0-3 - https://fedoraproject.org/wiki/Changes/golang1.7