Compare commits

...

No commits in common. 'i9ce' and 'i10ce' have entirely different histories.
i9ce ... i10ce

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/tokio-socks-0.5.2.crate

@ -0,0 +1 @@
1471fe164145357c9410b669c284d53a43f7eba5 SOURCES/tokio-socks-0.5.2.crate

@ -0,0 +1,9 @@
[package]
cargo-toml-patch-comments = [
"drop smol dev-dependency which is only used by disabled integration tests",
]
[tests]
run = ["lib", "doc"]
comments = ["integration tests require internet access"]

Binary file not shown.

@ -0,0 +1,12 @@
--- tokio-socks-0.5.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ tokio-socks-0.5.2/Cargo.toml 2024-07-28T12:12:39.491368+00:00
@@ -115,9 +115,6 @@
[dev-dependencies.once_cell]
version = "1.2.0"
-[dev-dependencies.smol]
-version = "2.0.0"
-
[dev-dependencies.tokio]
version = "1.0"
features = [

@ -1,25 +1,32 @@
# Generated by rust2rpm 16
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## 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
%bcond_without check
%global debug_package %{nil}
%global crate tokio-socks
Name: rust-%{crate}
Version: 0.5.1
Release: 4%{?dist}
Name: rust-tokio-socks
Version: 0.5.2
Release: %autorelease
Summary: Asynchronous SOCKS proxy support for Rust
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/tokio-socks
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop smol dev-dependency which is only used by disabled integration tests
Patch: tokio-socks-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Asynchronous SOCKS proxy support for Rust.}
@ -32,13 +39,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +54,35 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-io-devel %{_description}
This package contains library source intended for building other packages which
use the "futures-io" feature of the "%{crate}" crate.
%files -n %{name}+futures-io-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
%package -n %{name}+tor-devel
Summary: %{summary}
@ -58,14 +90,14 @@ BuildArch: noarch
%description -n %{name}+tor-devel %{_description}
This package contains library source intended for building other packages
which use "tor" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "tor" feature of the "%{crate}" crate.
%files -n %{name}+tor-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -79,14 +111,33 @@ which use "tor" feature of "%{crate}" crate.
%if %{with check}
%check
# We are not interested in running integration tests
# * integration tests require internet access
%cargo_test -- --lib
%cargo_test -- --doc
%endif
%changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.5.1-4
- Rebuilt for MSVSphere 9.3
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.5.2-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sun Jul 28 2024 Fabio Valentini <decathorpe@gmail.com> - 0.5.2-1
- Update to version 0.5.2; Fixes RHBZ#2300202
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed May 17 2023 Fabio Valentini <decathorpe@gmail.com> - 0.5.1-7
- Regenerate with rust2rpm v24
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
@ -115,3 +166,5 @@ which use "tor" feature of "%{crate}" crate.
* Sat May 16 08:51:56 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 0.2.2-1
- Initial package
## END: Generated by rpmautospec

Loading…
Cancel
Save