Skip to content

Commit

Permalink
otd: Build using .NET 8, but require .NET 6 at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Aug 19, 2024
1 parent d8c5842 commit da5e25c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions anda/system/opentabletdriver/opentabletdriver.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@
# We aren't using Mono but RPM expected Mono
%global __requires_exclude_from ^/usr/lib/opentabletdriver/.*$
%global __os_install_post %{nil}
%global dotnet_runtime_version 8.0
%global dotnet_sdk_version 8.0
%global dotnet_runtime_version 6.0

Name: opentabletdriver
Version: 0.6.4.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A cross-platform open source tablet driver
License: LGPLv3
URL: https://github.com/OpenTabletDriver/OpenTabletDriver
Packager: Cappy Ishihara <[email protected]>
%define otddir OpenTabletDriver-%{version}

BuildRequires: dotnet-sdk-%{dotnet_runtime_version}

# This package can be built using a newer .NET SDK version, but you
# specifically need .NET 6.0 to run it.
BuildRequires: dotnet-sdk-%{dotnet_sdk_version}
BuildRequires: git jq systemd-rpm-macros
BuildRequires: gtk3-devel

Requires: dotnet-runtime-%{dotnet_runtime_version}
Requires: libevdev.so.2()(64bit)
Expand Down

0 comments on commit da5e25c

Please sign in to comment.