import rust-bytelines-2.5.0-1.el9

i9ce changed/i9ce/rust-bytelines-2.5.0-1.el9
MSVSphere Packaging Team 12 months ago
parent e64e0f6e8d
commit 45b9702b39

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/bytelines-2.5.0.crate

@ -0,0 +1 @@
c1acf31a5b976837068ca53776432aedca6232e2 SOURCES/bytelines-2.5.0.crate

@ -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.

Binary file not shown.

@ -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 <tigro@msvsphere-os.ru> - 2.4.0-2
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.5.0-1
- Rebuilt for MSVSphere 9.3
* Sun Jan 07 2024 Fabio Valentini <decathorpe@gmail.com> - 2.5.0-1
- Update to version 2.5.0; Fixes RHBZ#2257000
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save