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.
224 lines
7.1 KiB
224 lines
7.1 KiB
1 year ago
|
## 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 http
|
||
|
|
||
|
Name: rust-http
|
||
|
Version: 0.2.10
|
||
|
Release: %autorelease
|
||
|
Summary: Set of types for representing HTTP requests and responses
|
||
|
|
||
|
License: MIT OR Apache-2.0
|
||
|
URL: https://crates.io/crates/http
|
||
|
Source: %{crates_source}
|
||
|
# Manually created patch for downstream crate metadata changes
|
||
|
# * relax indexmap dev-dependency from <=1.8 to ^1
|
||
|
Patch: http-fix-metadata.diff
|
||
|
|
||
|
BuildRequires: cargo-rpm-macros >= 24
|
||
|
|
||
|
%global _description %{expand:
|
||
|
A set of types for representing HTTP requests and responses.}
|
||
|
|
||
|
%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-APACHE
|
||
|
%license %{crate_instdir}/LICENSE-MIT
|
||
|
%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
|
||
|
|
||
|
%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 <tigro@msvsphere-os.ru> - 0.2.10-1
|
||
|
- Rebuilt for MSVSphere 9.3
|
||
|
|
||
|
* Fri Nov 10 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.10-1
|
||
|
- Update to version 0.2.10; Fixes RHBZ#2249082
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Sun Feb 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.9-2
|
||
|
- Relax indexmap dev-dependency from <=1.8 to ^1
|
||
|
|
||
|
* Sun Feb 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.9-1
|
||
|
- Update to version 0.2.9; Fixes RHBZ#2170928
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Fri Nov 04 2022 Fabio Valentini <decathorpe@gmail.com> - 0.2.8-3
|
||
|
- Drop unused, benchmark-only criterion dev-dependency
|
||
|
|
||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Sat Jul 16 2022 Fabio Valentini <decathorpe@gmail.com> - 0.2.8-1
|
||
|
- Update to version 0.2.8; Fixes RHBZ#2094125
|
||
|
|
||
|
* Thu May 12 2022 Fabio Valentini <decathorpe@gmail.com> - 0.2.7-1
|
||
|
- Update to version 0.2.7; Fixes RHBZ#2080047
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Fri Jan 07 2022 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-1
|
||
|
- Update to version 0.2.6; Fixes RHBZ#2036283
|
||
|
|
||
|
* Mon Sep 27 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.5-1
|
||
|
- Update to version 0.2.5; Fixes RHBZ#2006440
|
||
|
|
||
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
||
|
- Second attempt - Rebuilt for
|
||
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Fri Apr 30 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.4-1
|
||
|
- Update to version 0.2.4.
|
||
|
- Fixes RHBZ#1947191
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Sat Jan 09 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.3-1
|
||
|
- Update to version 0.2.3.
|
||
|
- Fixes RHBZ#1914417
|
||
|
|
||
|
* Sun Jan 03 16:04:46 CET 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.2-1
|
||
|
- Update to 0.2.2 (Fixes: RHBZ#1907676)
|
||
|
|
||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Wed Mar 25 20:12:39 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.1-1
|
||
|
- Update to 0.2.1
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Sat Dec 14 13:50:26 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
|
||
|
- Update to 0.2.0
|
||
|
|
||
|
* Fri Dec 06 10:43:32 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.21-1
|
||
|
- Update to 0.1.21
|
||
|
|
||
|
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.1.19-1
|
||
|
- Update to 0.1.19
|
||
|
|
||
|
* Sun Jul 28 18:19:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.18-1
|
||
|
- Update to 0.1.18
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 21 21:08:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.17-2
|
||
|
- Regenerate
|
||
|
|
||
|
* Sat Apr 06 11:06:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.17-1
|
||
|
- Update to 0.1.17
|
||
|
|
||
|
* Tue Feb 19 2019 Josh Stone <jistone@redhat.com> - 0.1.16-1
|
||
|
- Update to 0.1.16
|
||
|
|
||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Wed Jan 23 2019 Josh Stone <jistone@redhat.com> - 0.1.15-1
|
||
|
- Update to 0.1.15
|
||
|
|
||
|
* Mon Nov 26 2018 Josh Stone <jistone@redhat.com> - 0.1.14-1
|
||
|
- Update to 0.1.14
|
||
|
|
||
|
* Sun Nov 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.13-2
|
||
|
- Adapt to new packaging
|
||
|
|
||
|
* Mon Sep 17 2018 Josh Stone <jistone@redhat.com> - 0.1.13-1
|
||
|
- Update to 0.1.13
|
||
|
|
||
|
* Mon Sep 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.12-2
|
||
|
- Run tests in infrastructure
|
||
|
|
||
|
* Mon Sep 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.12-1
|
||
|
- Update to 0.1.12
|
||
|
|
||
|
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.1.11-1
|
||
|
- Update to 0.1.11
|
||
|
|
||
|
* Thu Aug 09 2018 Josh Stone <jistone@redhat.com> - 0.1.10-1
|
||
|
- Update to 0.1.10
|
||
|
|
||
|
* Wed Aug 08 2018 Josh Stone <jistone@redhat.com> - 0.1.9-1
|
||
|
- Update to 0.1.9
|
||
|
|
||
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-2
|
||
|
- Rebuild to trigger tests
|
||
|
|
||
|
* Tue Jul 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-1
|
||
|
- Update to 0.1.8
|
||
|
|
||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
|
||
|
- Update to 0.1.7
|
||
|
|
||
|
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-1
|
||
|
- Update to 0.1.6
|
||
|
|
||
|
* Wed May 16 2018 Josh Stone <jistone@redhat.com> - 0.1.5-2
|
||
|
- Fix FTBFS from deprecated AsciiExt
|
||
|
|
||
|
* Fri Mar 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-1
|
||
|
- Initial package
|
||
|
|