From 7e8b0953fc40aa6a6c0e8a22751e0e3828587b1e Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 6 Apr 2024 16:03:20 +0800 Subject: [PATCH 1/4] fix(nim-nightly): fixed package name --- anda/langs/nim/nim-nightly/nim-nightly.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index ce388c70c8..f0c7332ce8 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 20240404 %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,8 @@ 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 +Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-1%?dist %description From d64666f08380b3e949294e476c0f72e7c561b4ab Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 20 Apr 2024 15:52:43 +0800 Subject: [PATCH 2/4] Update nim-nightly.spec Signed-off-by: madomado --- anda/langs/nim/nim-nightly/nim-nightly.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index f0c7332ce8..f09a257ff0 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -31,6 +31,8 @@ order of priority). %package tools Summary: Tools for Nim programming language +Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-1%?dist + %description tools Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that @@ -43,6 +45,7 @@ This package provides various tools, which help Nim programmers. %package doc Summary: Documentation for Nim programming language BuildArch: noarch +Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-1%?dist %description doc Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that From 5103a055f2d0533c9292b51f634828523b093b14 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 20 Apr 2024 16:28:03 +0800 Subject: [PATCH 3/4] provides Signed-off-by: madomado --- anda/langs/nim/nim-nightly/nim-nightly.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index f09a257ff0..23c01b520e 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -20,7 +20,8 @@ BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completi Requires: redhat-rpm-config gcc Conflicts: choosenim # somehow wrong name and never noticed -Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-1%?dist +Provides: nim-nightly = %version-%release +Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-1 %description @@ -31,7 +32,8 @@ order of priority). %package tools Summary: Tools for Nim programming language -Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-1%?dist +Provides: nim-nightly-tools = %version-%release +Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-1 %description tools Nim is a compiled, garbage-collected systems programming language with a @@ -45,7 +47,8 @@ This package provides various tools, which help Nim programmers. %package doc Summary: Documentation for Nim programming language BuildArch: noarch -Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-1%?dist +Provides: nim-nightly-doc = %version-%release +Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-1 %description doc Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that From 7ae15fa6d6bdf8ee48a1cf9cbab7b8428fbb2e33 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 20 Apr 2024 17:58:51 +0800 Subject: [PATCH 4/4] ????? --- anda/langs/nim/nim-nightly/nim-nightly.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 23c01b520e..f12ef5c465 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -21,7 +21,7 @@ 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-1 +Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-2 %description @@ -33,7 +33,7 @@ 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-1 +Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-2 %description tools Nim is a compiled, garbage-collected systems programming language with a @@ -48,7 +48,7 @@ This package provides various tools, which help Nim programmers. Summary: Documentation for Nim programming language BuildArch: noarch Provides: nim-nightly-doc = %version-%release -Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-1 +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