diff --git a/.gitignore b/.gitignore index 240bb4e..c7dab7c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /textwrap-0.15.0.crate /textwrap-0.15.2.crate /textwrap-0.16.0.crate +/textwrap-0.16.1.crate diff --git a/rust-textwrap.spec b/rust-textwrap.spec index e6e5871..0b7e205 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 24 -# * missing dev-dependencies: termion ^2.0.1, unic-emoji-char ^0.9 +# Generated by rust2rpm 25 +# * missing dev-dependencies: unic-emoji-char ^0.9 %bcond_with check %global debug_package %{nil} %global crate textwrap Name: rust-textwrap -Version: 0.16.0 +Version: 0.16.1 Release: %autorelease Summary: Library for word wrapping, indenting, and dedenting strings @@ -14,7 +14,7 @@ License: MIT URL: https://crates.io/crates/textwrap Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Library for word wrapping, indenting, and dedenting strings. Has @@ -98,7 +98,7 @@ use the "unicode-width" 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 7ccae68..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - hyphenation diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..6961190 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependencies: unic-emoji-char ^0.9"] + +[features] +hide = ["hyphenation"] + diff --git a/sources b/sources index b121360..f3fe88e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (textwrap-0.16.0.crate) = 97ae8acece5663e1a6b08b827179e96d5ad0ee67d635888cc3d83454b52cf48fce97eb0eba374ba4747834099c74f43d66d9fec868e84be45369a42c1aaec2c3 +SHA512 (textwrap-0.16.1.crate) = 3a8d2036c8e4b88866d68b8066a2991756f6bd4ac5c726e63fdffbc894fbdc03bf8b6e0ece4b96684c8e1facb6413190768d51a8539094efe47977c120d31f1b