From 0eacedb7ffa88708317073824963499d8a35469a Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Mon, 25 May 2026 14:16:59 -0500 Subject: [PATCH] chore (crystal-shards): install docs, use %autosetup (#12606) (#12634) --- anda/langs/crystal/shards/shards.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/anda/langs/crystal/shards/shards.spec b/anda/langs/crystal/shards/shards.spec index 7178a2fdea..7a17f5d48e 100644 --- a/anda/langs/crystal/shards/shards.spec +++ b/anda/langs/crystal/shards/shards.spec @@ -1,13 +1,13 @@ Name: shards Version: 0.20.0 -Release: 1%?dist +Release: 2%?dist Summary: Dependency manager for the Crystal language License: Apache-2.0 Packager: Carl Hörberg URL: https://crystal-lang.org/ Source0: https://github.com/crystal-lang/shards/archive/refs/tags/v%version.tar.gz BuildRequires: crystal make -BuildRequires: gcc gc-devel libyaml-devel pcre-devel +BuildRequires: gcc gc-devel libyaml-devel pcre2-devel Suggests: git make Supplements: crystal @@ -15,7 +15,7 @@ Supplements: crystal Shards is a dependency manager for the Crystal programming language. It allows you to easily manage and install external libraries (called "shards") that your Crystal projects depend on. %prep -%setup -q +%autosetup %build %make_build release=1 FLAGS="--link-flags=\"%{build_ldflags}\"" @@ -24,6 +24,8 @@ Shards is a dependency manager for the Crystal programming language. It allows y %make_install PREFIX=%{_prefix} %files +%license LICENSE +%doc README.md CHANGELOG.md %{_bindir}/shards %{_mandir}/man1/shards.1.gz %{_mandir}/man5/shard.yml.5.gz