Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spec for Mageia #783

Merged
merged 1 commit into from
Jun 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions Project/GNU/mediaconch.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
%global libzen_name libzen0
%endif

%if 0%{?mageia}
%ifarch x86_64
%global mageia_libname lib64
%else
%global mageia_libname lib
%endif
%endif

# CentOS also set rhel macro
%if ! 0%{?suse_version} || 0%{?suse_version} >= 1200
%global build_server 1
Expand Down Expand Up @@ -55,9 +63,14 @@ BuildRequires: autoconf
BuildRequires: zlib-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: sqlite-devel
BuildRequires: libevent-devel
BuildRequires: libcurl-devel
%if 0%{?mageia}
BuildRequires: %{mageia_libname}sqlite3-devel
%else
BuildRequires: sqlite-devel
%endif


%if 0%{?rhel} >= 8
BuildRequires: alternatives
Expand All @@ -76,11 +89,7 @@ BuildRequires: jansson-devel
%endif

%if 0%{?mageia}
%ifarch x86_64
BuildRequires: lib64openssl-devel
%else
BuildRequires: libopenssl-devel
%endif
BuildRequires: %{mageia_libname}openssl-devel
%endif

# Lib dependencies
Expand All @@ -107,11 +116,7 @@ BuildRequires: libQtWebKit-devel
BuildRequires: update-desktop-files
%else
%if 0%{?mageia}
%ifarch x86_64
BuildRequires: lib64qtwebkit2.2-devel
%else
BuildRequires: libqtwebkit2.2-devel
%endif
BuildRequires: %{mageia_libname}qt5webengine-devel
%endif
%endif
%endif
Expand Down
Loading