diff --git a/.gitignore b/.gitignore index ff50a74..5378723 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /scroll-0.10.1.crate /scroll-0.10.2.crate /scroll-0.11.0.crate +/scroll-0.12.0.crate diff --git a/rust-scroll.spec b/rust-scroll.spec index 4ddbba5..5b00b69 100644 --- a/rust-scroll.spec +++ b/rust-scroll.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate scroll Name: rust-scroll -Version: 0.11.0 +Version: 0.12.0 Release: %autorelease Summary: Powerful, extensible, generic, endian-aware Read/Write traits for byte buffers @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/scroll Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A suite of powerful, extensible, generic, endian-aware Read/Write traits @@ -32,7 +32,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE -%doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -60,18 +59,6 @@ use the "derive" feature of the "%{crate}" crate. %files -n %{name}+derive-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+scroll_derive-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+scroll_derive-devel %{_description} - -This package contains library source intended for building other packages which -use the "scroll_derive" feature of the "%{crate}" crate. - -%files -n %{name}+scroll_derive-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -85,7 +72,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index f9c49dd..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -summary = Powerful, extensible, generic, endian-aware Read/Write traits for byte buffers -all-features = true diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..b0d8b5c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,6 @@ +[package] +summary = "Powerful, extensible, generic, endian-aware Read/Write traits for byte buffers" + +[features] +enable-all = true + diff --git a/sources b/sources index 68abdd4..308f7d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scroll-0.11.0.crate) = 84a9b1eb8a10c2bb14b718984ebdbac4a02620a65d6ced24f5346a762d92cc22a69fd204de1ed97044076d098a5ff9b7e20f7f00deca2b1302eb0910934265af +SHA512 (scroll-0.12.0.crate) = 475a9b3f09d4164a7192c9d2fbc209354b9442e669c3cb318bd3f31d1a407aa328543bfe315c12ddd962bf8518ac378476d6b5677ecea170e6d507c70c4ca935