diff --git a/.gitignore b/.gitignore index 60b3adc..b75e232 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /rust_decimal-1.22.0.crate /rust_decimal-1.23.1.crate /rust_decimal-1.25.0.crate +/rust_decimal-1.26.1.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index 8bc210b..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,11 +0,0 @@ -[DEFAULT] -unwanted-features = - borsh - db-diesel-mysql - db-postgres - db-tokio-postgres - postgres - rocket - rocket-traits - tokio-pg - tokio-postgres diff --git a/rust-rust_decimal.spec b/rust-rust_decimal.spec index efa6bd1..1b94210 100644 --- a/rust-rust_decimal.spec +++ b/rust-rust_decimal.spec @@ -1,21 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate rust_decimal -Name: rust-%{crate} -Version: 1.25.0 +Name: rust-rust_decimal +Version: 1.26.1 Release: %autorelease Summary: Decimal number implementation written in pure Rust -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/rust_decimal Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds -Patch0: rust_decimal-fix-metadata.diff +Patch: rust_decimal-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -57,174 +56,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+arbitrary-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+arbitrary-devel %{_description} - -This package contains library source intended for building other packages which -use the "arbitrary" feature of the "%{crate}" crate. - -%files -n %{name}+arbitrary-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+bytecheck-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+bytecheck-devel %{_description} - -This package contains library source intended for building other packages which -use the "bytecheck" feature of the "%{crate}" crate. - -%files -n %{name}+bytecheck-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+byteorder-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+byteorder-devel %{_description} - -This package contains library source intended for building other packages which -use the "byteorder" feature of the "%{crate}" crate. - -%files -n %{name}+byteorder-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+bytes-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+bytes-devel %{_description} - -This package contains library source intended for building other packages which -use the "bytes" feature of the "%{crate}" crate. - -%files -n %{name}+bytes-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+c-repr-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+c-repr-devel %{_description} - -This package contains library source intended for building other packages which -use the "c-repr" feature of the "%{crate}" crate. - -%files -n %{name}+c-repr-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+db-diesel-postgres-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+db-diesel-postgres-devel %{_description} - -This package contains library source intended for building other packages which -use the "db-diesel-postgres" feature of the "%{crate}" crate. - -%files -n %{name}+db-diesel-postgres-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+diesel-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+diesel-devel %{_description} - -This package contains library source intended for building other packages which -use the "diesel" feature of the "%{crate}" crate. - -%files -n %{name}+diesel-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+legacy-ops-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+legacy-ops-devel %{_description} - -This package contains library source intended for building other packages which -use the "legacy-ops" feature of the "%{crate}" crate. - -%files -n %{name}+legacy-ops-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+maths-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+maths-devel %{_description} - -This package contains library source intended for building other packages which -use the "maths" feature of the "%{crate}" crate. - -%files -n %{name}+maths-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+maths-nopanic-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+maths-nopanic-devel %{_description} - -This package contains library source intended for building other packages which -use the "maths-nopanic" feature of the "%{crate}" crate. - -%files -n %{name}+maths-nopanic-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rand-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rand-devel %{_description} - -This package contains library source intended for building other packages which -use the "rand" feature of the "%{crate}" crate. - -%files -n %{name}+rand-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rkyv-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rkyv-devel %{_description} - -This package contains library source intended for building other packages which -use the "rkyv" feature of the "%{crate}" crate. - -%files -n %{name}+rkyv-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rkyv-safe-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rkyv-safe-devel %{_description} - -This package contains library source intended for building other packages which -use the "rkyv-safe" feature of the "%{crate}" crate. - -%files -n %{name}+rkyv-safe-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rust-fuzz-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rust-fuzz-devel %{_description} - -This package contains library source intended for building other packages which -use the "rust-fuzz" feature of the "%{crate}" crate. - -%files -n %{name}+rust-fuzz-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -237,102 +68,6 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+serde-arbitrary-precision-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-arbitrary-precision-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-arbitrary-precision" feature of the "%{crate}" crate. - -%files -n %{name}+serde-arbitrary-precision-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde-bincode-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-bincode-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-bincode" feature of the "%{crate}" crate. - -%files -n %{name}+serde-bincode-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde-float-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-float-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-float" feature of the "%{crate}" crate. - -%files -n %{name}+serde-float-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde-str-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-str-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-str" feature of the "%{crate}" crate. - -%files -n %{name}+serde-str-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde-with-arbitrary-precision-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-with-arbitrary-precision-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-with-arbitrary-precision" feature of the "%{crate}" crate. - -%files -n %{name}+serde-with-arbitrary-precision-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde-with-float-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-with-float-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-with-float" feature of the "%{crate}" crate. - -%files -n %{name}+serde-with-float-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde-with-str-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-with-str-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde-with-str" feature of the "%{crate}" crate. - -%files -n %{name}+serde-with-str-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde_json-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde_json-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde_json" feature of the "%{crate}" crate. - -%files -n %{name}+serde_json-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..e805376 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,38 @@ +[DEFAULT] +unwanted-features = + c-repr + db-diesel-mysql + db-diesel-postgres + db-diesel1-mysql + db-diesel1-postgres + db-diesel2-mysql + db-diesel2-postgres + db-postgres + db-tokio-postgres + legacy-ops + maths + maths-nopanic + rkyv-safe + rocket-traits + rust-fuzz + serde-arbitrary-precision + serde-bincode + serde-float + serde-str + serde-with-arbitrary-precision + serde-with-float + serde-with-str + tokio-pg + arbitrary + borsh + bytecheck + byteorder + bytes + diesel1 + diesel2 + postgres + rand + rkyv + rocket + serde_json + tokio-postgres diff --git a/rust_decimal-fix-metadata.diff b/rust_decimal-fix-metadata.diff index d3bd917..3b2de97 100644 --- a/rust_decimal-fix-metadata.diff +++ b/rust_decimal-fix-metadata.diff @@ -1,6 +1,6 @@ ---- rust_decimal-1.25.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rust_decimal-1.25.0/Cargo.toml 2022-07-16T14:41:24.120590+00:00 -@@ -129,10 +129,6 @@ +--- rust_decimal-1.26.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rust_decimal-1.26.1/Cargo.toml 2022-08-06T10:10:14.264460+00:00 +@@ -136,10 +136,6 @@ version = "1.0" default-features = false diff --git a/sources b/sources index 3c18c6f..a3b101b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rust_decimal-1.25.0.crate) = d421276a2fec838d1e524adb208556bb74aab99f90be1889f2ffc38339eb076534dad6f60b63a995f6b6446083695ade4ac77ea179cc45cce29647d765e7b5be +SHA512 (rust_decimal-1.26.1.crate) = 776051a651af1c7bed2cc393c1538fac1900ed947e21f6846480b2f93b1ac651b6a4b45c601f1a8b33c6a8d255b798c4bbed4a1cdd4e79ddd0c0246d03bfa46e