commit 0b3acb0ce08c7f24a33870163b6d56bf3ecf4158 Author: tigro Date: Mon Jan 15 20:39:01 2024 +0300 import rust-buffered-reader-1.3.0-1.el9 diff --git a/.rust-buffered-reader.metadata b/.rust-buffered-reader.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/buffered-reader-1.3.0.crate b/SOURCES/buffered-reader-1.3.0.crate new file mode 100644 index 0000000..4b7d570 Binary files /dev/null and b/SOURCES/buffered-reader-1.3.0.crate differ diff --git a/SPECS/rust-buffered-reader.spec b/SPECS/rust-buffered-reader.spec new file mode 100644 index 0000000..9e3e771 --- /dev/null +++ b/SPECS/rust-buffered-reader.spec @@ -0,0 +1,179 @@ +## 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 buffered-reader + +Name: rust-buffered-reader +Version: 1.3.0 +Release: %autorelease +Summary: Super-powered Reader + +License: LGPL-2.0-or-later +URL: https://crates.io/crates/buffered-reader +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A super-powered Reader.} + +%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.txt +%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}+bzip2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bzip2-devel %{_description} + +This package contains library source intended for building other packages which +use the "bzip2" feature of the "%{crate}" crate. + +%files -n %{name}+bzip2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+compression-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+compression-devel %{_description} + +This package contains library source intended for building other packages which +use the "compression" feature of the "%{crate}" crate. + +%files -n %{name}+compression-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+compression-bzip2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+compression-bzip2-devel %{_description} + +This package contains library source intended for building other packages which +use the "compression-bzip2" feature of the "%{crate}" crate. + +%files -n %{name}+compression-bzip2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+compression-deflate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+compression-deflate-devel %{_description} + +This package contains library source intended for building other packages which +use the "compression-deflate" feature of the "%{crate}" crate. + +%files -n %{name}+compression-deflate-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+flate2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+flate2-devel %{_description} + +This package contains library source intended for building other packages which +use the "flate2" feature of the "%{crate}" crate. + +%files -n %{name}+flate2-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 - 1.3.0-1 +- Rebuilt for MSVSphere 9.3 + +* Thu Nov 02 2023 Fabio Valentini - 1.3.0-1 +- Update to version 1.3.0; Fixes RHBZ#2246420 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 1.2.0-1 +- Update to version 1.2.0; Fixes RHBZ#2207951 + +* Sun Jan 29 2023 Fabio Valentini - 1.1.4-1 +- Update to version 1.1.4; Fixes RHBZ#2158929 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 08 2022 Fabio Valentini - 1.1.3-1 +- Update to version 1.1.3; Fixes RHBZ#2103939 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 1.1.2-1 +- Update to version 1.1.2; Fixes RHBZ#2035259 + +* Wed Nov 17 2021 Fabio Valentini - 1.1.1-1 +- Update to version 1.1.1; Fixes RHBZ#2023857 + +* Sat Nov 06 2021 Fabio Valentini - 1.1.0-1 +- Update to version 1.1.0; Fixes RHBZ#2015143 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Apr 08 2021 Fabio Valentini - 1.0.1-1 +- Initial package +