diff --git a/.gitignore b/.gitignore index 3c6d776..9a3f43e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /wild-2.0.3.crate /wild-2.0.4.crate /wild-2.1.0.crate +/wild-2.2.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 590adc6..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-wild - -The rust-wild package \ No newline at end of file diff --git a/rust-wild.spec b/rust-wild.spec index 9432b4a..39831dc 100644 --- a/rust-wild.spec +++ b/rust-wild.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate wild Name: rust-wild -Version: 2.1.0 +Version: 2.2.0 Release: %autorelease Summary: Glob (wildcard) expanded command-line arguments @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: wild-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -50,6 +48,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+glob-quoted-on-windows-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+glob-quoted-on-windows-devel %{_description} + +This package contains library source intended for building other packages which +use the "glob-quoted-on-windows" feature of the "%{crate}" crate. + +%files -n %{name}+glob-quoted-on-windows-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..3263e1f --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Glob (wildcard) expanded command-line arguments diff --git a/sources b/sources index 6302ad0..7987a32 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wild-2.1.0.crate) = 458716b78fde64c65a10ae28d9ac75494c5362a834dd48f5d29efbf7bc54323033f524cfa8ec9d4c851121cfc357d3935129069fcb746e656b8ae397cb9b197c +SHA512 (wild-2.2.0.crate) = 12a3484f372b5979715d56afdadc6d9b152ee75c1961fd0352f5cfb500691b526d4fc32bee32af7548cb7e6bb20288a5eae710a473bde9d2065fcbfc3f8de851 diff --git a/wild-fix-metadata-auto.diff b/wild-fix-metadata-auto.diff index 22feddb..6512ebe 100644 --- a/wild-fix-metadata-auto.diff +++ b/wild-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- wild-2.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ wild-2.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -49,9 +49,6 @@ - [dev-dependencies.glob] - version = "0.3" +--- wild-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ wild-2.2.0/Cargo.toml 2023-09-24T21:13:35.022141+00:00 +@@ -53,9 +53,6 @@ + [features] + glob-quoted-on-windows = [] -[target."cfg(windows)".dependencies.glob] --version = "0.3" +-version = "0.3.1" - [badges.appveyor] repository = "pornel/wild"