# crystal-crest.spec # Spec file for crystal-crest %bcond_without check %bcond_without debug %{!?crystal_arches: %global crystal_arches x86_64 aarch64} %global shard_name crest Name: crystal-crest Version: 1.8.1 Release: 1%{?dist} Summary: HTTP and REST client for Crystal License: MIT URL: https://github.com/mamantoha/crest Source0: https://github.com/mamantoha/crest/archive/v1.8.1/crest-1.8.1.tar.gz ExclusiveArch: %{crystal_arches} noarch BuildArch: noarch BuildRequires: crystal-rpm-macros BuildRequires: crystal >= 1.2.0 BuildRequires: shards BuildRequires: openssl-devel BuildRequires: pkgconfig(zlib) BuildRequires: crystal-shard(http-client-digest_auth) BuildRequires: crystal-shard(http_proxy) BuildRequires: crystal-shard(cookie_jar) %if %{with check} BuildRequires: crystal-shard(vcr) %endif Provides: crystal-shard(crest) = 1.8.1 %description HTTP and REST client for Crystal. This package provides the %{shard_name} library for Crystal. %prep %crystal_setup -n %{shard_name}-%{version} %build # Library package; sources are installed for dependent shards and applications %install %crystal_install_lib %check %if %{with check} # Remove proxy integration tests that require external network connectivity to httpbingo.org rm -f spec/integration/proxy_spec.cr %crystal_check %endif %files %license LICENSE %doc CHANGELOG.md README.md %crystal_files %changelog * Sun Sep 06 2026 Rénich Bon Ćirić - 1.8.1-1 - Initial package generated by cr2rpm