Compare commits

...

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

1
.gitignore vendored

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

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

@ -1,9 +0,0 @@
[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.

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

Loading…
Cancel
Save