diff --git a/.gitignore b/.gitignore index e9031aa..5f6a71e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /form_urlencoded-1.0.0.crate /form_urlencoded-1.0.1.crate /form_urlencoded-1.1.0.crate +/form_urlencoded-1.2.0.crate diff --git a/rust-form_urlencoded.spec b/rust-form_urlencoded.spec index bbb5d33..45e8635 100644 --- a/rust-form_urlencoded.spec +++ b/rust-form_urlencoded.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate form_urlencoded Name: rust-form_urlencoded -Version: 1.1.0 +Version: 1.2.0 Release: %autorelease -Summary: Parser and serializer for application/x-www-form-urlencoded +Summary: Parser and serializer for the application/x-www-form-urlencoded syntax License: MIT OR Apache-2.0 URL: https://crates.io/crates/form_urlencoded @@ -16,8 +16,8 @@ Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: -Parser and serializer for the application/x-www-form-urlencoded syntax, as used -by HTML forms.} +Parser and serializer for the application/x-www-form-urlencoded syntax, +as used by HTML forms.} %description %{_description} @@ -47,6 +47,30 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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..71b06b4 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Parser and serializer for the application/x-www-form-urlencoded syntax diff --git a/sources b/sources index 2bc7cf7..fe037b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (form_urlencoded-1.1.0.crate) = 9e245495dbf235b147e4216b313f2e6a96357d2782a66d71c08c2902c6a065701ca8ecdbb6b2035983a83c44cf36c921b5c71d63af0e02dd39bf5f8347117e11 +SHA512 (form_urlencoded-1.2.0.crate) = 899ddd113a79bdeac12e499f581c5499d1a4b698c75cfc2d6aada5880cd802fc8537ff9ce68eca28374318d66fd70100962105c1e8962868a5732bb86326c104