Blame rust-liquid.spec

f8f5087
# Generated by rust2rpm 15
d59abb0
%bcond_without check
d59abb0
%global debug_package %{nil}
d59abb0
d59abb0
%global crate liquid
d59abb0
d59abb0
Name:           rust-%{crate}
f8f5087
Version:        0.21.4
f8f5087
Release:        1%{?dist}
d59abb0
Summary:        Liquid templating language for Rust
d59abb0
d59abb0
# Upstream license specification: MIT
d59abb0
License:        MIT
d59abb0
URL:            https://crates.io/crates/liquid
d59abb0
Source:         %{crates_source}
d59abb0
d59abb0
ExclusiveArch:  %{rust_arches}
d59abb0
%if %{__cargo_skip_build}
d59abb0
BuildArch:      noarch
d59abb0
%endif
d59abb0
d59abb0
BuildRequires:  rust-packaging
d59abb0
d59abb0
%global _description %{expand:
d59abb0
Liquid templating language for Rust.}
d59abb0
d59abb0
%description %{_description}
d59abb0
d59abb0
%package        devel
d59abb0
Summary:        %{summary}
d59abb0
BuildArch:      noarch
d59abb0
d59abb0
%description    devel %{_description}
d59abb0
d59abb0
This package contains library source intended for building other packages
d59abb0
which use "%{crate}" crate.
d59abb0
d59abb0
%files          devel
d59abb0
%license LICENSE
d59abb0
%doc README.md CHANGELOG.md
d59abb0
%{cargo_registry}/%{crate}-%{version_no_tilde}/
d59abb0
d59abb0
%package     -n %{name}+default-devel
d59abb0
Summary:        %{summary}
d59abb0
BuildArch:      noarch
d59abb0
d59abb0
%description -n %{name}+default-devel %{_description}
d59abb0
d59abb0
This package contains library source intended for building other packages
d59abb0
which use "default" feature of "%{crate}" crate.
d59abb0
d59abb0
%files       -n %{name}+default-devel
d59abb0
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
d59abb0
d59abb0
%package     -n %{name}+liquid-lib-devel
d59abb0
Summary:        %{summary}
d59abb0
BuildArch:      noarch
d59abb0
d59abb0
%description -n %{name}+liquid-lib-devel %{_description}
d59abb0
d59abb0
This package contains library source intended for building other packages
d59abb0
which use "liquid-lib" feature of "%{crate}" crate.
d59abb0
d59abb0
%files       -n %{name}+liquid-lib-devel
d59abb0
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
d59abb0
d59abb0
%package     -n %{name}+stdlib-devel
d59abb0
Summary:        %{summary}
d59abb0
BuildArch:      noarch
d59abb0
d59abb0
%description -n %{name}+stdlib-devel %{_description}
d59abb0
d59abb0
This package contains library source intended for building other packages
d59abb0
which use "stdlib" feature of "%{crate}" crate.
d59abb0
d59abb0
%files       -n %{name}+stdlib-devel
d59abb0
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
d59abb0
d59abb0
%prep
d59abb0
%autosetup -n %{crate}-%{version_no_tilde} -p1
d59abb0
%cargo_prep
d59abb0
d59abb0
%generate_buildrequires
d59abb0
%cargo_generate_buildrequires
d59abb0
d59abb0
%build
d59abb0
%cargo_build
d59abb0
d59abb0
%install
d59abb0
%cargo_install
d59abb0
d59abb0
%if %{with check}
d59abb0
%check
f8f5087
# FIXME: 1/460 conformance tests is failing, unclear why
f8f5087
%cargo_test -- -- --skip conformance_ruby::tags::for_tag_test::test_for_else
d59abb0
%endif
d59abb0
d59abb0
%changelog
f8f5087
* Tue Nov 10 2020 Fabio Valentini <decathorpe@gmail.com> - 0.21.4-1
f8f5087
- Update to version 0.21.4.
f8f5087
2a7a810
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.1-2
2a7a810
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2a7a810
026024e
* Wed Jun 10 2020 Josh Stone <jistone@redhat.com> - 0.20.1-1
026024e
- Update to 0.20.1
026024e
d59abb0
* Sun Mar 22 15:22:58 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.20.0-1
d59abb0
- Initial package