diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-07-31 11:51:34 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-07-31 11:51:34 +0000 |
commit | a472969bffa9d079964238279cded9cd19a74b28 (patch) | |
tree | 5c8f01b87d02a2f63e3d7a51d15fb5ea90698cf7 | |
parent | 671bc80ed337442b3b0f782bb7ddcdfd42c66afc (diff) |
-rw-r--r-- | language-fix.patch | 22 | ||||
-rw-r--r-- | qtilitools.spec | 5 |
2 files changed, 26 insertions, 1 deletions
diff --git a/language-fix.patch b/language-fix.patch new file mode 100644 index 0000000..7d48b35 --- /dev/null +++ b/language-fix.patch @@ -0,0 +1,22 @@ +From 678b28d7e7dd4e2522ddf06b520780ca716b9e5a Mon Sep 17 00:00:00 2001 +From: farchord <farchord@gmail.com> +Date: Wed, 31 Jul 2024 05:54:50 -0400 +Subject: [PATCH] CMakeLists: Declare that there is no compilation + +As there is no compilation going on in this project, declaring so would be a good idea for some distros' tooling. +--- + CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bf15479..210b9cb 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,7 @@ + cmake_minimum_required(VERSION 3.15) + project(Qtilitools + VERSION 0.1.1 ++ LANGUAGES NONE + ) + string(TOLOWER ${PROJECT_NAME} PROJECT_ID) + diff --git a/qtilitools.spec b/qtilitools.spec index e963602..5093873 100644 --- a/qtilitools.spec +++ b/qtilitools.spec @@ -7,8 +7,11 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Summary: Scripts/commands used with qtilities apps BuildArch: noarch +# Fix to no longer need gcc-c++ as this project doesn't compile +# anything +Patch0: language-fix.patch + BuildRequires: cmake -BuildRequires: gcc-c++ %description %{summary}. |