diff --git a/.gitignore b/.gitignore index 368987c..6656e40 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /ron-0.6.5.crate /ron-0.7.0.crate /ron-0.7.1.crate +/ron-0.8.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 36bfdd1..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ron - -The rust-ron package \ No newline at end of file diff --git a/ron-fix-metadata.diff b/ron-fix-metadata.diff index a22427e..e7dad62 100644 --- a/ron-fix-metadata.diff +++ b/ron-fix-metadata.diff @@ -1,6 +1,6 @@ ---- ron-0.7.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ ron-0.7.1/Cargo.toml 2022-07-22T10:38:19.155801+00:00 -@@ -53,9 +53,6 @@ +--- ron-0.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ron-0.8.0/Cargo.toml 2023-03-14T20:04:54.775798+00:00 +@@ -49,9 +49,6 @@ version = "1.0.60" features = ["serde_derive"] diff --git a/rust-ron.spec b/rust-ron.spec index c5c36dd..74aca20 100644 --- a/rust-ron.spec +++ b/rust-ron.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate ron -Name: rust-%{crate} -Version: 0.7.1 +Name: rust-ron +Version: 0.8.0 Release: %autorelease Summary: Rusty Object Notation -# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/ron Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop missing option_set dev-dependency -Patch0: ron-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: ron-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -66,9 +63,21 @@ use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+integer128-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+integer128-devel %{_description} + +This package contains library source intended for building other packages which +use the "integer128" feature of the "%{crate}" crate. + +%files -n %{name}+integer128-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -# drop the only test that requires option_set +# drop the only test that requires the option_set crate rm tests/152_bitflags.rs %cargo_prep diff --git a/sources b/sources index e064bfb..dbdbc74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ron-0.7.1.crate) = 02298f035304e791c99fb16c6301d040e3a348180aacf31ddd00abc0a694901bd1820c8479fadd72028fda8681c45ff6a203c6100ae9037c845cba74b7f9f8c8 +SHA512 (ron-0.8.0.crate) = 689aba27920e5d4fd2c9c38e3bf3eb490ea810170bdd6c04ea270a1e57dda0955768a61344a21decb30ab73c460436e90879b4b66de3e62ac7ec27bf4ca8718f