Compare commits
No commits in common. 'i10ce' and 'epel9' have entirely different histories.
@ -1 +1,28 @@
|
|||||||
SOURCES/http-1.2.0.crate
|
/http-0.1.5.crate
|
||||||
|
/http-0.1.6.crate
|
||||||
|
/http-0.1.7.crate
|
||||||
|
/http-0.1.8.crate
|
||||||
|
/http-0.1.9.crate
|
||||||
|
/http-0.1.10.crate
|
||||||
|
/http-0.1.11.crate
|
||||||
|
/http-0.1.12.crate
|
||||||
|
/http-0.1.13.crate
|
||||||
|
/http-0.1.14.crate
|
||||||
|
/http-0.1.15.crate
|
||||||
|
/http-0.1.16.crate
|
||||||
|
/http-0.1.17.crate
|
||||||
|
/http-0.1.18.crate
|
||||||
|
/http-0.1.19.crate
|
||||||
|
/http-0.1.21.crate
|
||||||
|
/http-0.2.0.crate
|
||||||
|
/http-0.2.1.crate
|
||||||
|
/http-0.2.2.crate
|
||||||
|
/http-0.2.3.crate
|
||||||
|
/http-0.2.4.crate
|
||||||
|
/http-0.2.5.crate
|
||||||
|
/http-0.2.6.crate
|
||||||
|
/http-0.2.7.crate
|
||||||
|
/http-0.2.8.crate
|
||||||
|
/http-0.2.9.crate
|
||||||
|
/http-0.2.10.crate
|
||||||
|
/http-1.0.0.crate
|
||||||
|
@ -1 +0,0 @@
|
|||||||
c5dd299e0f53feb868951fd1ac803ceaae027901 SOURCES/http-1.2.0.crate
|
|
@ -1,249 +0,0 @@
|
|||||||
## 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 27
|
|
||||||
%bcond check 1
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate http
|
|
||||||
|
|
||||||
Name: rust-http
|
|
||||||
Version: 1.2.0
|
|
||||||
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}
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
%package -n %{name}+std-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+std-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "std" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+std-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> - 1.2.0-1
|
|
||||||
- Rebuilt for MSVSphere 10
|
|
||||||
|
|
||||||
## START: Generated by rpmautospec
|
|
||||||
* Mon Dec 09 2024 Fabio Valentini <decathorpe@gmail.com> - 1.2.0-1
|
|
||||||
- Update to version 1.2.0; Fixes RHBZ#2330218
|
|
||||||
|
|
||||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Mar 05 2024 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
|
|
||||||
- Update to version 1.1.0; Fixes RHBZ#2267747
|
|
||||||
|
|
||||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 08 2024 Fabio Valentini <decathorpe@gmail.com> - 1.0.0-1
|
|
||||||
- Update to version 1.0.0; Fixes RHBZ#2249516
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
## END: Generated by rpmautospec
|
|
@ -0,0 +1,101 @@
|
|||||||
|
* 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
|
@ -0,0 +1,11 @@
|
|||||||
|
--- http-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||||
|
+++ http-1.0.0/Cargo.toml 2024-01-08T16:08:36.347776+00:00
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
version = "0.3"
|
||||||
|
|
||||||
|
[dev-dependencies.indexmap]
|
||||||
|
-version = "<=1.8"
|
||||||
|
+version = "1"
|
||||||
|
|
||||||
|
[dev-dependencies.quickcheck]
|
||||||
|
version = "0.9.0"
|
@ -0,0 +1,85 @@
|
|||||||
|
# Generated by rust2rpm 25
|
||||||
|
%bcond_without check
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%global crate http
|
||||||
|
|
||||||
|
Name: rust-http
|
||||||
|
Version: 1.0.0
|
||||||
|
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
|
||||||
|
|
||||||
|
%package -n %{name}+std-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+std-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "std" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+std-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
|
||||||
|
%autochangelog
|
Loading…
Reference in new issue