forked from pool/git-crypt
Accepting request 1066049 from home:etamPL:branches:devel:tools:scm
fixed building with openssl-3 OBS-URL: https://build.opensuse.org/request/show/1066049 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/git-crypt?expand=0&rev=5
This commit is contained in:
parent
7c822d1f50
commit
9c71fa01be
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 11 11:10:29 UTC 2023 - Adam Mizerski <adam@mizerski.pl>
|
||||
|
||||
- fixed building with openssl-3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 23 08:58:51 UTC 2022 - Adam Mizerski <adam@mizerski.pl>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package git-crypt
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -45,9 +45,14 @@ down your entire repository.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} \
|
||||
ENABLE_MAN=yes \
|
||||
CXXFLAGS="-std=c++11 %{optflags}"
|
||||
# https://github.com/AGWA/git-crypt/issues/232
|
||||
%if %{pkg_version_cmp libopenssl-devel 3} != -1
|
||||
CXXFLAGS="${CXXFLAGS} -DOPENSSL_API_COMPAT=0x30000000L"
|
||||
%endif
|
||||
export CXXFLAGS
|
||||
make %{?_smp_mflags} \
|
||||
ENABLE_MAN=yes
|
||||
|
||||
%install
|
||||
%make_install \
|
||||
|
Loading…
Reference in New Issue
Block a user