From b290618424991229c5eac35387b21a3a4abe81d4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 14 Jul 2023 00:49:28 +0200 Subject: [PATCH] Update to version 0.4.0; Fixes RHBZ#2212342 --- .gitignore | 1 + README.md | 3 --- rust-idna.spec | 28 ++++++++++++++++++++++++++-- rust2rpm.conf | 2 ++ sources | 2 +- 5 files changed, 30 insertions(+), 6 deletions(-) delete mode 100644 README.md create mode 100644 rust2rpm.conf diff --git a/.gitignore b/.gitignore index 2d04a71..3907dde 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /idna-0.2.2.crate /idna-0.2.3.crate /idna-0.3.0.crate +/idna-0.4.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index f9b5547..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-idna - -The rust-idna package \ No newline at end of file diff --git a/rust-idna.spec b/rust-idna.spec index d5fca27..a1b7f91 100644 --- a/rust-idna.spec +++ b/rust-idna.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate idna Name: rust-idna -Version: 0.3.0 +Version: 0.4.0 Release: %autorelease Summary: IDNA (Internationalizing Domain Names in Applications) and Punycode @@ -46,6 +46,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..7d57285 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = IDNA (Internationalizing Domain Names in Applications) and Punycode diff --git a/sources b/sources index 21e322c..5121cec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (idna-0.3.0.crate) = 9b7cee27811ee52ed9bb39fe82f724742eef2e5370642b6c756bd134c8cbc20bb6faa9f296053672dba8a66f7356a08b2ca99f176407b173e2d566d85d066441 +SHA512 (idna-0.4.0.crate) = b4133c5f73bd9c4ccc05245a9edcc5c980714129ce4f6eb7851eea7e509617ff972fadefe6ac78db6b4106667d9d6070de52c4d42414c95921e3d9fe1b7a76cb