diff --git a/.gitignore b/.gitignore index 4f60d3c..39364b4 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /object-0.26.2.crate /object-0.27.1.crate /object-0.29.0.crate +/object-0.30.3.crate diff --git a/README.md b/README.md deleted file mode 100644 index d5f7dc7..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-object - -The rust-object package \ No newline at end of file diff --git a/object-fix-metadata.diff b/object-fix-metadata.diff index d7f0ae9..4ad9cb1 100644 --- a/object-fix-metadata.diff +++ b/object-fix-metadata.diff @@ -1,6 +1,6 @@ ---- object-0.29.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ object-0.29.0/Cargo.toml 2022-08-09T09:38:46.983845+00:00 -@@ -68,17 +68,12 @@ +--- object-0.30.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ object-0.30.3/Cargo.toml 2023-03-30T18:31:27.154876+00:00 +@@ -70,17 +70,12 @@ version = "2.4.1" default-features = false @@ -18,7 +18,7 @@ ] archive = [] cargo-all = [] -@@ -101,7 +96,6 @@ +@@ -103,7 +98,6 @@ "elf", "macho", "pe", @@ -26,10 +26,10 @@ ] elf = [] macho = [] -@@ -124,7 +118,6 @@ +@@ -132,7 +126,6 @@ + "unstable", + "xcoff", ] - std = ["memchr/std"] - unaligned = [] -wasm = ["wasmparser"] write = [ "write_std", diff --git a/rust-object.spec b/rust-object.spec index c3d3bb9..f4301ec 100644 --- a/rust-object.spec +++ b/rust-object.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate object Name: rust-object -Version: 0.29.0 +Version: 0.30.3 Release: %autorelease Summary: Unified interface for reading and writing object file formats @@ -16,12 +16,10 @@ Source: %{crates_source} # * disable WASM support (wasmparser dependency is very outdated) Patch: object-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -Unified interface for reading and writing object file formats.} +A unified interface for reading and writing object file formats.} %description %{_description} @@ -257,6 +255,30 @@ use the "unaligned" feature of the "%{crate}" crate. %files -n %{name}+unaligned-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-all-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-all-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable-all" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-all-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+write-devel Summary: %{summary} BuildArch: noarch @@ -293,6 +315,18 @@ use the "write_std" feature of the "%{crate}" crate. %files -n %{name}+write_std-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+xcoff-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+xcoff-devel %{_description} + +This package contains library source intended for building other packages which +use the "xcoff" feature of the "%{crate}" crate. + +%files -n %{name}+xcoff-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index c1dace3..7a1c0bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (object-0.29.0.crate) = fb69ed164b9d766b2eb268b3492134ba9ca6b4358eb61712773c44c5c0676ce04e3e0c749f947658ee1423dce5e11237f6b6c0320f2d32bd6979cae141273dc2 +SHA512 (object-0.30.3.crate) = 61414475d3fcc7c4c3ad8c1316f6ada7801e28590d98bd425fa246f091d464de4eff7eba7cd74904517dee95ae0673e3d581400adb971306955a0aefa814172c