You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-hyper-util/SPECS/rust-hyper-util.spec

228 lines
6.3 KiB

## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## 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 26
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
%global crate hyper-util
Name: rust-hyper-util
Version: 0.1.10
Release: %autorelease
Summary: Hyper utilities
License: MIT
URL: https://crates.io/crates/hyper-util
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Hyper utilities.}
%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
%doc %{crate_instdir}/CHANGELOG.md
%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}+client-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+client-devel %{_description}
This package contains library source intended for building other packages which
use the "client" feature of the "%{crate}" crate.
%files -n %{name}+client-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+client-legacy-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+client-legacy-devel %{_description}
This package contains library source intended for building other packages which
use the "client-legacy" feature of the "%{crate}" crate.
%files -n %{name}+client-legacy-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+full-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+full-devel %{_description}
This package contains library source intended for building other packages which
use the "full" feature of the "%{crate}" crate.
%files -n %{name}+full-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+http1-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+http1-devel %{_description}
This package contains library source intended for building other packages which
use the "http1" feature of the "%{crate}" crate.
%files -n %{name}+http1-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+http2-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+http2-devel %{_description}
This package contains library source intended for building other packages which
use the "http2" feature of the "%{crate}" crate.
%files -n %{name}+http2-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+server-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+server-devel %{_description}
This package contains library source intended for building other packages which
use the "server" feature of the "%{crate}" crate.
%files -n %{name}+server-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+server-auto-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+server-auto-devel %{_description}
This package contains library source intended for building other packages which
use the "server-auto" feature of the "%{crate}" crate.
%files -n %{name}+server-auto-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+server-graceful-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+server-graceful-devel %{_description}
This package contains library source intended for building other packages which
use the "server-graceful" feature of the "%{crate}" crate.
%files -n %{name}+server-graceful-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+service-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+service-devel %{_description}
This package contains library source intended for building other packages which
use the "service" feature of the "%{crate}" crate.
%files -n %{name}+service-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} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.1.10-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Wed Oct 30 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.10-1
- Update to version 0.1.10; Fixes RHBZ#2322150
* Mon Oct 07 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.9-1
- Update to version 0.1.9; Fixes RHBZ#2314484
* Mon Sep 16 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.8-1
- Update to version 0.1.8; Fixes RHBZ#2310838
* Fri Aug 09 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.7-1
- Update to version 0.1.7; Fixes RHBZ#2303166
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jul 06 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.6-1
- Update to version 0.1.6; Fixes RHBZ#2295508
* Wed Jun 05 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.5-1
- Update to version 0.1.5; Fixes RHBZ#2283135
* Sat Apr 20 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-1
- Initial import (#2275806)
## END: Generated by rpmautospec