This commit is contained in:
Arseniy Romenskiy 2026-02-20 17:03:55 +03:00
parent a63c10bde6
commit 5ab0ecf9c7
2 changed files with 15 additions and 1 deletions

View file

@ -53,6 +53,17 @@ replace-with = "vendored-sources"
directory = "../vendor"
EOF
#==
cp -a vendor/time-0.3.25 vendor/time-0.3.25-patched
perl -0777 -pi -e 's/let items = format_items\s*\n\s*\.map\(\|res\|\s*res\.map\(Into::into\)\)\s*\n\s*\.collect::<Result<Box<_>, _>>\(\)\?\s*;/let items = format_items.collect::<Result<Box<_>, _>>()?;/s' \
vendor/time-0.3.25-patched/src/format_description/parse/mod.rs
###
grep zeroidc/Cargo.toml 'time-0.3.25-patched' || cat >> zeroidc/Cargo.toml <<EOF
[patch.crates-io]
time = { path = "../vendor/time-0.3.25-patched" }
EOF
#==
%build
%make_build ZT_USE_MINIUPNPC=1 one

View file

@ -1,5 +1,5 @@
Name: zerotier-one
Version: 1.12.2
Version: 1.16.0
Release: alt1
Summary: ZeroTier network virtualization service
@ -80,6 +80,9 @@ cp debian/zerotier-one.service %buildroot%_unitdir/%name.service
%preun
%preun_service %name
%changelog
* Thu Feb 12 2026 Arseniy Romenskiy <romenskiy@altlinux.org> 1.16.0-alt1
- Update spec to new build 1.16.0
* Mon Dec 25 2023 Vitaly Lipatov <lav@altlinux.ru> 1.12.2-alt1
- new version 1.12.2 (with rpmrb script)