Blame rust-loggerv.spec

2e8ff48
# Generated by rust2rpm 10
2e8ff48
%bcond_without check
f47dd4d
%global debug_package %{nil}
f47dd4d
f47dd4d
%global crate loggerv
f47dd4d
f47dd4d
Name:           rust-%{crate}
2e8ff48
Version:        0.7.2
7dd5b3a
Release:        4%{?dist}
f47dd4d
Summary:        Simple log implementation that logs to stdout and stderr with colors
f47dd4d
f47dd4d
# Upstream license specification: MIT
f47dd4d
License:        MIT
f47dd4d
URL:            https://crates.io/crates/loggerv
f47dd4d
Source:         %{crates_source}
a69051f
# https://github.com/clux/loggerv/commit/97e521dac76c14abfc1aee57bcb317e3d1b16f00
a69051f
Patch0001:      0001-fix-wrong-default-colors-tests-22.patch
f47dd4d
f47dd4d
ExclusiveArch:  %{rust_arches}
2e8ff48
%if %{__cargo_skip_build}
2e8ff48
BuildArch:      noarch
2e8ff48
%endif
f47dd4d
f47dd4d
BuildRequires:  rust-packaging
f47dd4d
2e8ff48
%global _description %{expand:
2e8ff48
Simple log implementation that logs to stdout and stderr with colors.}
f47dd4d
f47dd4d
%description %{_description}
f47dd4d
f47dd4d
%package        devel
f47dd4d
Summary:        %{summary}
f47dd4d
BuildArch:      noarch
f47dd4d
f47dd4d
%description    devel %{_description}
f47dd4d
f47dd4d
This package contains library source intended for building other packages
f47dd4d
which use "%{crate}" crate.
f47dd4d
f47dd4d
%files          devel
f47dd4d
%license LICENSE
f47dd4d
%doc README.md
f47dd4d
%{cargo_registry}/%{crate}-%{version}/
f47dd4d
f47dd4d
%package     -n %{name}+default-devel
f47dd4d
Summary:        %{summary}
f47dd4d
BuildArch:      noarch
f47dd4d
f47dd4d
%description -n %{name}+default-devel %{_description}
f47dd4d
f47dd4d
This package contains library source intended for building other packages
f47dd4d
which use "default" feature of "%{crate}" crate.
f47dd4d
f47dd4d
%files       -n %{name}+default-devel
f47dd4d
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
f47dd4d
f47dd4d
%prep
f47dd4d
%autosetup -n %{crate}-%{version_no_tilde} -p1
f47dd4d
%cargo_prep
f47dd4d
2e8ff48
%generate_buildrequires
2e8ff48
%cargo_generate_buildrequires
2e8ff48
f47dd4d
%build
f47dd4d
%cargo_build
f47dd4d
f47dd4d
%install
f47dd4d
%cargo_install
f47dd4d
f47dd4d
%if %{with check}
f47dd4d
%check
f47dd4d
%cargo_test
f47dd4d
%endif
f47dd4d
f47dd4d
%changelog
7dd5b3a
* Mon Dec 28 13:31:30 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.2-4
7dd5b3a
- Rebuild
7dd5b3a
fb9e53c
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
fb9e53c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fb9e53c
763768b
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
763768b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
763768b
2e8ff48
* Sun Aug 18 11:37:33 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.2-1
2e8ff48
- Update to 0.7.2
2e8ff48
e2214f9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
e2214f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e2214f9
f47dd4d
* Sun May 05 14:50:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-1
f47dd4d
- Initial package