From f5a56ab8952a5ddfbc72b2bc2483de8d41a55351 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 21 Apr 2024 01:08:38 -0700 Subject: [PATCH] fix(nim-nightly): fixed package name (#1082) (#1109) (cherry picked from commit 37416a09264b14fe45ff06f84416aeed18bc5540) Co-authored-by: madomado --- anda/langs/nim/nim-nightly/nim-nightly.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 4045e55fc5..ba7fbb114d 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -5,9 +5,9 @@ %global commit_date 20240330 %global debug_package %nil -Name: nim-nighlty +Name: nim-nightly Version: %ver^%commit_date.%shortcommit -Release: 1%?dist +Release: 2%?dist Summary: Imperative, multi-paradigm, compiled programming language License: MIT and BSD URL: https://nim-lang.org @@ -19,6 +19,9 @@ Source4: nimsuggest.1 BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel pcre pcre-devel Requires: redhat-rpm-config gcc Conflicts: choosenim +# somehow wrong name and never noticed +Provides: nim-nightly = %version-%release +Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-2 %description @@ -29,6 +32,9 @@ order of priority). %package tools Summary: Tools for Nim programming language +Provides: nim-nightly-tools = %version-%release +Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-2 + %description tools Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that @@ -41,6 +47,8 @@ This package provides various tools, which help Nim programmers. %package doc Summary: Documentation for Nim programming language BuildArch: noarch +Provides: nim-nightly-doc = %version-%release +Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-2 %description doc Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that