diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f67b0ce --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bytelines-2.5.0.crate diff --git a/.rust-bytelines.metadata b/.rust-bytelines.metadata index e69de29..2d655c5 100644 --- a/.rust-bytelines.metadata +++ b/.rust-bytelines.metadata @@ -0,0 +1 @@ +c1acf31a5b976837068ca53776432aedca6232e2 SOURCES/bytelines-2.5.0.crate diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE deleted file mode 100644 index 6281212..0000000 --- a/SOURCES/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Isaac Whitfield - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/SOURCES/bytelines-2.4.0.crate b/SOURCES/bytelines-2.4.0.crate deleted file mode 100644 index 0e3aae4..0000000 Binary files a/SOURCES/bytelines-2.4.0.crate and /dev/null differ diff --git a/SPECS/rust-bytelines.spec b/SPECS/rust-bytelines.spec index 283be20..d3c37f2 100644 --- a/SPECS/rust-bytelines.spec +++ b/SPECS/rust-bytelines.spec @@ -2,30 +2,28 @@ ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 2; + 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 23 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate bytelines Name: rust-bytelines -Version: 2.4.0 +Version: 2.5.0 Release: %autorelease Summary: Read input lines as byte slices for high efficiency License: MIT URL: https://crates.io/crates/bytelines Source: %{crates_source} -# https://github.com/whitfin/bytelines/issues/4 -Source: https://github.com/whitfin/bytelines/raw/ef627d1/LICENSE -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Read input lines as byte slices for high efficiency.} @@ -44,7 +42,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md -%doc %{crate_instdir}/TODO.txt %{crate_instdir}/ %package -n %{name}+default-devel @@ -59,10 +56,33 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+futures-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures-util" feature of the "%{crate}" crate. + +%files -n %{name}+futures-util-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep -cp -pav %{SOURCE1} . %generate_buildrequires %cargo_generate_buildrequires @@ -79,9 +99,15 @@ cp -pav %{SOURCE1} . %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 2.4.0-2 +* Mon Jan 15 2024 Arkady L. Shane - 2.5.0-1 - Rebuilt for MSVSphere 9.3 +* Sun Jan 07 2024 Fabio Valentini - 2.5.0-1 +- Update to version 2.5.0; Fixes RHBZ#2257000 + +* Fri Jul 21 2023 Fedora Release Engineering - 2.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild