diff --git a/.gitignore b/.gitignore index 0482213..76f6a71 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /fern-0.6.0.crate /fern-0.6.1.crate /fern-0.6.2.crate +/fern-0.7.0.crate diff --git a/fern-fix-metadata.diff b/fern-fix-metadata.diff index 9b01508..4443a6e 100644 --- a/fern-fix-metadata.diff +++ b/fern-fix-metadata.diff @@ -1,22 +1,23 @@ ---- fern-0.6.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ fern-0.6.2/Cargo.toml 2024-10-02T15:03:42.463022+00:00 -@@ -39,9 +39,6 @@ - - [package.metadata.docs.rs] - all-features = true +--- fern-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fern-0.7.0/Cargo.toml 2024-11-06T12:30:40.001954+00:00 +@@ -48,10 +48,6 @@ + [lib] + name = "fern" + path = "src/lib.rs" - -[[example]] -name = "cmd-program" +-path = "examples/cmd-program.rs" [[example]] - name = "date-based-file-log" -@@ -86,9 +83,6 @@ - [dependencies.log] + name = "colored" +@@ -140,9 +136,6 @@ version = "0.4" features = ["std"] -- + -[dev-dependencies.clap] -version = "2.22" - +- [dev-dependencies.humantime] version = "2.1.0" + diff --git a/rust-fern.spec b/rust-fern.spec index 78321cc..691c696 100644 --- a/rust-fern.spec +++ b/rust-fern.spec @@ -5,7 +5,7 @@ %global crate fern Name: rust-fern -Version: 0.6.2 +Version: 0.7.0 Release: %autorelease Summary: Simple, efficient logging @@ -63,6 +63,18 @@ use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+colored-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+colored-devel %{_description} + +This package contains library source intended for building other packages which +use the "colored" feature of the "%{crate}" crate. + +%files -n %{name}+colored-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+date-based-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index 45da135..0f89003 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -5,7 +5,6 @@ cargo-toml-patch-comments = [ [features] hide = [ - "colored", "reopen03", "reopen1", "reopen-03", diff --git a/sources b/sources index 9f40ea0..3479e8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fern-0.6.2.crate) = f9c44d1387f803b567b7254d91cd942c55d30a1c3cd37786101d7d49d346bc2bbc593fa8a3b2e59711c5320c1496354e8d2f3ecf0967030ac1e5199650523fba +SHA512 (fern-0.7.0.crate) = 4042eea0ee028bbff9723fba28fb9ff08b18fd13bdbde373905a0064d16f49e75666d1e1a5c0e04bfcc185f5c3c6e459b1bd51863c0c1ef4cf27083335ce2a52