diff --git a/rust-unicode-width.spec b/rust-unicode-width.spec index abe875a..b794824 100644 --- a/rust-unicode-width.spec +++ b/rust-unicode-width.spec @@ -3,9 +3,11 @@ %global debug_package %{nil} %global crate unicode-width +%global crate_version 0.1.12 +%global version_no_tilde 0.1.12 Name: rust-unicode-width -Version: 0.1.13 +Version: 0.1.13+really0.1.12 Release: %autorelease Summary: Determine displayed width of 'char' and 'str' types @@ -65,7 +67,7 @@ use the "no_std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{crate_version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 02ace9e..964b462 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unicode-width-0.1.13.crate) = 9781d6dab2c6343e8c28ec66b50cb4293261bb2114e122fa80ad2facdb23020f5b621c38030193b918669e58adf143808e5ab4c507c18beb6dc61e97b2e296f4 +SHA512 (unicode-width-0.1.12.crate) = 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4 diff --git a/unicode-width-fix-metadata.diff b/unicode-width-fix-metadata.diff index 62d265d..0e28a61 100644 --- a/unicode-width-fix-metadata.diff +++ b/unicode-width-fix-metadata.diff @@ -1,10 +1,13 @@ ---- unicode-width-0.1.13/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ unicode-width-0.1.13/Cargo.toml 2024-06-05T19:41:40.583470+00:00 -@@ -17,7 +17,7 @@ +--- unicode-width-0.1.12/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ unicode-width-0.1.12/Cargo.toml 2024-06-10T14:43:09.392221+00:00 +@@ -17,10 +17,7 @@ "kwantam ", "Manish Goregaokar ", ] --exclude = ["/.github/*"] +-exclude = [ +- "target/*", +- "Cargo.lock", +-] +exclude = ["/scripts/*"] description = """ Determine displayed width of `char` and `str` types