mirror of
https://abf.rosa.ru/djam/libressl.git
synced 2025-02-23 16:12:53 +00:00
Filter out provides and requires which appeared after recent changes, add some devel provides
This commit is contained in:
parent
179f31e464
commit
48fbc26eca
1 changed files with 13 additions and 4 deletions
|
@ -23,9 +23,6 @@
|
|||
%{?!_compress:%define _compress /bin/true}
|
||||
%{?!_extension:%define _extension .xz}
|
||||
|
||||
# We rename e.g. libtls.pc to libressl-tls.pc, make sure that we do not
|
||||
# get odd provides and break the repository if forgot to rename something
|
||||
%define __noautoprov '.*openssl.*|pkgconfig\((libtls|libcrypro|libssl)\)'
|
||||
# Ideas behind this package are the following:
|
||||
# - libressl-devel must provide pkgconfig(libressl*)
|
||||
# - libressl-devel must not provide pkgconfig(openssl),
|
||||
|
@ -41,6 +38,14 @@
|
|||
# - not FHS-compilant /opt is used only for devel package to allow
|
||||
# coinstallability with OpenSSL devel packages
|
||||
# // mikhailnov, 03.12.2019
|
||||
# We rename e.g. libtls.pc to libressl-tls.pc, make sure that we do not
|
||||
# get odd provides and break the repository if forgot to rename something.
|
||||
# Filtering libraries provides and requirements example:
|
||||
# - libssl.so.47()(64bit) - remove (filter out)
|
||||
# - libssl.so.47(LIBRESSL)(64bit) - leave
|
||||
%define __noautoprov \
|
||||
'.*openssl.*|pkgconfig\(lib(tls|crypro|ssl)\)|lib.*\.so\..*\(\).*'
|
||||
%define __noautoreq 'lib.*\.so\..*\(\).*'
|
||||
|
||||
%define libcrypto_sover 45
|
||||
%define libssl_sover 47
|
||||
|
@ -52,7 +57,7 @@
|
|||
Summary: LibreSSL utils and libs coexisting with OpenSSL
|
||||
Name: libressl
|
||||
Version: 3.0.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
# The code is distributed under ISC license except of original OpenSSL code
|
||||
License: ISC and BSD-like
|
||||
Group: System/Libraries
|
||||
|
@ -141,6 +146,10 @@ Requires: %{name} = %{EVRD}
|
|||
Requires: %{libcrypto_pkg} = %{EVRD}
|
||||
Requires: %{libtls_pkg} = %{EVRD}
|
||||
Requires: %{libssl_pkg} = %{EVRD}
|
||||
# Add provides to pull this package by common devel names
|
||||
Provides: %{mklibname crypto_libressl -d} = %{EVRD}
|
||||
Provides: %{mklibname tls_libressl -d} = %{EVRD}
|
||||
Provides: %{mklibname ssl_libressl -d} = %{EVRD}
|
||||
Autoreq: 1
|
||||
|
||||
%description devel
|
||||
|
|
Loading…
Add table
Reference in a new issue