## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %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 25 %bcond_without check %global debug_package %{nil} %global crate bytecount Name: rust-bytecount Version: 0.6.7 Release: %autorelease Summary: Count occurrences of a given byte, or the number of UTF-8 code points # Upstream license specification: Apache-2.0/MIT License: Apache-2.0 OR MIT URL: https://crates.io/crates/bytecount Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: bytecount-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Count occurrences of a given byte, or the number of UTF-8 code points, in a byte slice, fast.} %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}/LICENSE.Apache2 %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}+html_report-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+html_report-devel %{_description} This package contains library source intended for building other packages which use the "html_report" feature of the "%{crate}" crate. %files -n %{name}+html_report-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+runtime-dispatch-simd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+runtime-dispatch-simd-devel %{_description} This package contains library source intended for building other packages which use the "runtime-dispatch-simd" feature of the "%{crate}" crate. %files -n %{name}+runtime-dispatch-simd-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -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.6.7-1 - Rebuilt for MSVSphere 9.3 * Fri Nov 10 2023 Fabio Valentini - 0.6.7-1 - Update to version 0.6.7; Fixes RHBZ#2245599 * Sun Oct 08 2023 Fabio Valentini - 0.6.4-1 - Update to version 0.6.4; Fixes RHBZ#2241659 * Sun Aug 06 2023 Fabio Valentini - 0.6.3-5 - Regenerate with rust2rpm v24 * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Fabio Valentini - 0.6.3-1 - Update to version 0.6.3; Fixes RHBZ#2092589 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 02 2020 Fabio Valentini - 0.6.2-1 - Update to version 0.6.2. - Fixes RHBZ#1903388 * Thu Nov 19 2020 Fabio Valentini - 0.6.1-1 - Update to version 0.6.1. - Fixes RHBZ#1899742 * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 13 17:35:02 CEST 2019 Robert-André Mauchin - 0.6.0-1 - Update to 0.6.0 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 16:53:52 CEST 2019 Igor Gnatenko - 0.5.1-4 - Regenerate * Sun Jun 09 12:26:22 CEST 2019 Igor Gnatenko - 0.5.1-3 - Fix skip_build * Sat Jun 08 23:49:59 CEST 2019 Igor Gnatenko - 0.5.1-2 - Regenerate * Sun Feb 10 2019 Igor Gnatenko - 0.5.1-1 - Update to 0.5.1 * Sun Feb 10 2019 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Oct 28 2018 Igor Gnatenko - 0.3.2-2 - Adapt to new packaging * Fri Aug 10 2018 Igor Gnatenko - 0.3.2-1 - Update to 0.3.2 * Sat Jul 14 2018 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Igor Gnatenko - 0.3.1-1 - Update to 0.3.1 * Tue Jan 09 2018 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0 * Mon Jan 08 2018 Igor Gnatenko - 0.2.0-4 - Rebuild for rust-packaging v5 * Sun Dec 31 2017 Igor Gnatenko - 0.2.0-3 - Bump rand to 0.4 - Bump quickcheck to 0.6 * Sat Dec 02 2017 Igor Gnatenko - 0.2.0-2 - Bump quickcheck to 0.5 * Fri Nov 10 2017 Igor Gnatenko - 0.2.0-1 - Update to 0.2.0 * Fri Jul 21 2017 Igor Gnatenko - 0.1.7-1 - Update to 0.1.7 * Thu Jun 15 2017 Igor Gnatenko - 0.1.6-3 - Relax quickcheck version * Wed Jun 14 2017 Igor Gnatenko - 0.1.6-2 - Port to use rust-packaging * Sat Feb 25 2017 Igor Gnatenko - 0.1.6-1 - Initial package