Blame rust-derive_builder_core.spec

81632d
# Generated by rust2rpm 10
81632d
%bcond_without check
d9b469
%global debug_package %{nil}
d9b469
d9b469
%global crate derive_builder_core
d9b469
d9b469
Name:           rust-%{crate}
596d22
Version:        0.5.0
8d8b19
Release:        3%{?dist}
d9b469
Summary:        Internal helper library for the derive_builder crate
d9b469
d9b469
# Upstream license specification: MIT/Apache-2.0
d9b469
License:        MIT or ASL 2.0
d9b469
URL:            https://crates.io/crates/derive_builder_core
d9b469
Source:         %{crates_source}
d9b469
# Initial patched metadata
d9b469
# * Update pretty_assertions to 0.6, https://github.com/colin-kiegel/rust-derive-builder/pull/143
d9b469
Patch0:         derive_builder_core-fix-metadata.diff
d9b469
d9b469
ExclusiveArch:  %{rust_arches}
81632d
%if %{__cargo_skip_build}
81632d
BuildArch:      noarch
81632d
%endif
d9b469
d9b469
BuildRequires:  rust-packaging
d9b469
596d22
%global _description %{expand:
596d22
Internal helper library for the derive_builder crate.}
d9b469
d9b469
%description %{_description}
d9b469
d9b469
%package        devel
d9b469
Summary:        %{summary}
d9b469
BuildArch:      noarch
d9b469
d9b469
%description    devel %{_description}
d9b469
d9b469
This package contains library source intended for building other packages
d9b469
which use "%{crate}" crate.
d9b469
d9b469
%files          devel
d9b469
%license LICENSE-MIT LICENSE-APACHE
d9b469
%doc README.md CHANGELOG.md
d9b469
%{cargo_registry}/%{crate}-%{version}/
d9b469
d9b469
%package     -n %{name}+default-devel
d9b469
Summary:        %{summary}
d9b469
BuildArch:      noarch
d9b469
d9b469
%description -n %{name}+default-devel %{_description}
d9b469
d9b469
This package contains library source intended for building other packages
d9b469
which use "default" feature of "%{crate}" crate.
d9b469
d9b469
%files       -n %{name}+default-devel
d9b469
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
d9b469
d9b469
%package     -n %{name}+log-devel
d9b469
Summary:        %{summary}
d9b469
BuildArch:      noarch
d9b469
d9b469
%description -n %{name}+log-devel %{_description}
d9b469
d9b469
This package contains library source intended for building other packages
d9b469
which use "log" feature of "%{crate}" crate.
d9b469
d9b469
%files       -n %{name}+log-devel
d9b469
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
d9b469
d9b469
%package     -n %{name}+logging-devel
d9b469
Summary:        %{summary}
d9b469
BuildArch:      noarch
d9b469
d9b469
%description -n %{name}+logging-devel %{_description}
d9b469
d9b469
This package contains library source intended for building other packages
d9b469
which use "logging" feature of "%{crate}" crate.
d9b469
d9b469
%files       -n %{name}+logging-devel
d9b469
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
d9b469
d9b469
%prep
d9b469
%autosetup -n %{crate}-%{version_no_tilde} -p1
d9b469
%cargo_prep
d9b469
81632d
%generate_buildrequires
81632d
%cargo_generate_buildrequires
81632d
d9b469
%build
d9b469
%cargo_build
d9b469
d9b469
%install
d9b469
%cargo_install
d9b469
d9b469
%if %{with check}
d9b469
%check
d9b469
%cargo_test
d9b469
%endif
d9b469
d9b469
%changelog
8d8b19
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
8d8b19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8d8b19
81632d
* Sat Jun 22 12:41:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-2
81632d
- Regenerate
81632d
596d22
* Sat Jun 08 15:29:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
596d22
- Update to 0.5.0
596d22
eb26e2
* Mon Mar 25 19:38:30 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
eb26e2
- Update darling to 0.9
eb26e2
d9b469
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
d9b469
- Initial package