# 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.9.0 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/v%{version}/crest-%{version}.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) >= 0.6.0 BuildRequires: crystal-shard(http_proxy) >= 0.17.0 BuildRequires: crystal-shard(cookie_jar) >= 0.2.0 %if %{with check} BuildRequires: crystal-shard(vcr) %endif Provides: crystal-shard(%{shard_name}) = %{version} %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 * Wed Oct 21 2026 Rénich Bon Ćirić - 1.9.0-1 - Update to upstream release 1.9.0 - Enforce versioned BuildRequires for cookie_jar >= 0.2.0 and http_proxy >= 0.17.0 * Sun Sep 06 2026 Rénich Bon Ćirić - 1.8.1-1 - Initial package generated by cr2rpm