Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37854074
en ru br
Репозитории ALT

Группа :: Other
Пакет: cargo-vendor-filterer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:    cargo-vendor-filterer
Version: 0.5.9
Release: alt2

Summary: Tool to `cargo vendor` with filtering
License: Apache-2.0
Group:   Other
Url:     https://github.com/coreos/cargo-vendor-filterer

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

Source: %name-%version.tar

BuildRequires: libssl-devel
BuildRequires(pre): rpm-build-rust
BuildRequires: /proc

%description
The core cargo vendor tool is useful to save all dependencies. However, it
doesn't offer any filtering; today cargo includes all platforms, but some
projects only care about Linux for example.

%prep
%setup
mkdir -p .cargo
cat >> .cargo/config <<EOF
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF

%build
%rust_build

%install
%rust_install
install -pDm 0755 cargo-vendor-alt %buildroot%_bindir

%check
%rust_test

%files
%doc *.md
%_bindir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin