chore (crystal-shards): install docs, use %autosetup (#12606) (#12634)

This commit is contained in:
Raboneko
2026-05-25 14:16:59 -05:00
committed by GitHub
parent 9aa41f877e
commit 0eacedb7ff
+5 -3
View File
@@ -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 <carl@84codes.com>
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