You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-pretty_env_logger/rust-pretty_env_logger.spec

85 lines
2.2 KiB

# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate pretty_env_logger
Name: rust-%{crate}
Version: 0.2.4
Release: 2%{?dist}
Summary: Visually pretty env_logger
License: MIT or ASL 2.0
URL: https://crates.io/crates/pretty_env_logger
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(ansi_term) >= 0.11.0 with crate(ansi_term) < 0.12.0)
BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0)
BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A visually pretty env_logger.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
# https://github.com/seanmonstar/pretty-env-logger/pull/13
#doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jul 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.4-1
- Update to 0.2.4
* Sat May 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-1
- Update to 0.2.3
* Mon Mar 26 2018 Josh Stone <jistone@redhat.com> - 0.2.2-2
- Bump ansi_term to 0.11
* Thu Feb 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-1
- Update to 0.2.2
* Thu Feb 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-1
- Update to 0.2.1
* Sat Jan 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
- Update to 0.2.0
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-2
- Rebuild for rust-packaging v5
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-1
- Initial package