mirror of
https://abf.rosa.ru/djam/libressl.git
synced 2025-02-23 16:12:53 +00:00
Add includedir override and fix pkgconfig file substitutions
This commit is contained in:
parent
aa028f8919
commit
e6dfd91087
1 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
|||
# We need to override macros set in platform
|
||||
%define _prefix /opt/libressl
|
||||
%define _bindir %{_prefix}/bin
|
||||
%define _includedir %{_prefix}/include
|
||||
%define _libdir %{_prefix}/%{_lib}
|
||||
%define _libexecdir %{_prefix}/libexec
|
||||
%define _datadir %{_prefix}/share
|
||||
|
@ -60,7 +61,7 @@
|
|||
Summary: LibreSSL utils and libs coexisting with OpenSSL
|
||||
Name: libressl
|
||||
Version: %{base_version}.git%{git_date}
|
||||
Release: 14
|
||||
Release: 15
|
||||
# The code is distributed under ISC license except of original OpenSSL code
|
||||
License: ISC and BSD-like
|
||||
Group: System/Base
|
||||
|
@ -353,7 +354,7 @@ do
|
|||
# It is lost due to --exec_prefix=XXX in %%configure2_5x
|
||||
sed -i -r \
|
||||
-e 's,^exec_prefix=.+,exec_prefix=${prefix},' \
|
||||
-e 's,^libdir=.+,libdir=${exec_prefix}/lib,' \
|
||||
-e 's,^libdir=.+,libdir=${exec_prefix}/%{_lib},' \
|
||||
-e 's,^includedir=.+,includedir=${prefix}/include,' \
|
||||
"$f"
|
||||
mv -v "$f" "libressl-${f}"
|
||||
|
|
Loading…
Add table
Reference in a new issue