Update to 0.2.5

Adapt to new packaging
epel9
Josh Stone 6 years ago
parent 368cb5e892
commit 27444b3cd3

1
.gitignore vendored

@ -4,3 +4,4 @@
/pretty_env_logger-0.2.2.crate /pretty_env_logger-0.2.2.crate
/pretty_env_logger-0.2.3.crate /pretty_env_logger-0.2.3.crate
/pretty_env_logger-0.2.4.crate /pretty_env_logger-0.2.4.crate
/pretty_env_logger-0.2.5.crate

@ -5,10 +5,11 @@
%global crate pretty_env_logger %global crate pretty_env_logger
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.4 Version: 0.2.5
Release: 2%{?dist} Release: 1%{?dist}
Summary: Visually pretty env_logger Summary: Visually pretty env_logger
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/pretty_env_logger URL: https://crates.io/crates/pretty_env_logger
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
@ -16,23 +17,42 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
# [dependencies] BuildRequires: (crate(ansi_term/default) >= 0.11.0 with crate(ansi_term/default) < 0.12.0)
BuildRequires: (crate(ansi_term) >= 0.11.0 with crate(ansi_term) < 0.12.0) BuildRequires: (crate(chrono/default) >= 0.4.4 with crate(chrono/default) < 0.5.0)
BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0) BuildRequires: (crate(env_logger/default) >= 0.5.0 with crate(env_logger/default) < 0.6.0)
BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
%description %global _description \
%{summary}. a visually pretty env_logger
%description %{_description}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description devel %description devel %{_description}
A visually pretty env_logger.
This package contains library source intended for building other packages This package contains library source intended for building other packages
which use %{crate} from crates.io. which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
# https://github.com/seanmonstar/pretty-env-logger/pull/13
#doc README.md
%{cargo_registry}/%{crate}-%{version}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
@ -49,13 +69,11 @@ which use %{crate} from crates.io.
%cargo_test %cargo_test
%endif %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 %changelog
* Fri Nov 09 2018 Josh Stone <jistone@redhat.com> - 0.2.5-1
- Update to 0.2.5
- Adapt to new packaging
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -1 +1 @@
SHA512 (pretty_env_logger-0.2.4.crate) = 551ac1326756fcbe34c660c1eb8d3599bd8d6133ecd8251709349faab2b6def8cad043f23b307b7076e040a9543dd3500117075039728e91366fde050b122571 SHA512 (pretty_env_logger-0.2.5.crate) = 0420cc68d00dee26023eeddd6d26d0efccc31302dc3108f037a1e7d054fa0086fac2afe85e70cb23bc5b43c7ed2296b278fc08d58bf79037b0175757ef5d457c

Loading…
Cancel
Save