## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate unicode-normalization Name: rust-unicode-normalization Version: 0.1.22 Release: %autorelease Summary: Functions for normalization of Unicode strings # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/unicode-normalization Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Exclude unneeded scripts: # https://github.com/unicode-rs/unicode-normalization/pull/30 Patch: unicode-normalization-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Functions for normalization of Unicode strings, including Canonical and Compatible Decomposition and Recomposition, as described in Unicode Standard Annex #15.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/COPYRIGHT %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-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 %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Mon Jan 15 2024 Arkady L. Shane - 0.1.22-1 - Rebuilt for MSVSphere 9.3 * Wed Oct 05 2022 Fabio Valentini 0.1.22-1 - Update to version 0.1.22; Fixes RHBZ#2127519 * Sat Jul 23 2022 Fedora Release Engineering 0.1.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Fabio Valentini 0.1.21-1 - Update to version 0.1.21; Fixes RHBZ#2100885 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 22 2021 Fabio Valentini - 0.1.19-1 - Update to version 0.1.19. - Fixes RHBZ#1967229 * Sun May 30 2021 Fabio Valentini - 0.1.18-1 - Update to version 0.1.18. - Fixes RHBZ#1965669 * Mon Feb 15 2021 Fabio Valentini - 0.1.17-1 - Update to version 0.1.17. - Fixes RHBZ#1926534 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 19 2020 Fabio Valentini - 0.1.16-1 - Update to version 0.1.16. - Fixes RHBZ#1898793 * Wed Nov 11 2020 Fabio Valentini - 0.1.14-1 - Update to version 0.1.14. - Fixes RHBZ#1896863 * Wed Jul 29 2020 Fedora Release Engineering - 0.1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 21 09:04:20 CEST 2020 Igor Raits - 0.1.13-1 - Update to 0.1.13 * Thu Jan 30 2020 Fedora Release Engineering - 0.1.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Josh Stone - 0.1.12-1 - Update to 0.1.12 * Fri Nov 22 2019 Josh Stone - 0.1.11-1 - Update to 0.1.11 * Tue Nov 19 2019 Josh Stone - 0.1.9-1 - Update to 0.1.9 * Fri Jul 26 2019 Fedora Release Engineering - 0.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 11:26:29 CEST 2019 Igor Gnatenko - 0.1.8-3 - Regenerate * Sat Feb 02 2019 Fedora Release Engineering - 0.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 22 2019 Josh Stone - 0.1.8-1 - Update to 0.1.8 * Sat Nov 03 2018 Igor Gnatenko - 0.1.7-3 - Adapt to new packaging * Sat Jul 14 2018 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu May 10 2018 Igor Gnatenko - 0.1.7-1 - Update to 0.1.7 * Thu May 03 2018 Josh Stone - 0.1.6-1 - Update to 0.1.6 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.1.5-3 - Rebuild for rust-packaging v5 * Sun Nov 05 2017 Igor Gnatenko - 0.1.5-2 - Exclude unneeded files * Thu Jun 15 2017 Igor Gnatenko - 0.1.5-1 - Update to 0.1.5 * Wed Jun 14 2017 Igor Gnatenko - 0.1.4-2 - Port to use rust-packaging * Sat Feb 18 2017 Igor Gnatenko - 0.1.4-1 - Initial package