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

Группа :: Development/Tools
Пакет: cargo-cache

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

%def_with check

Name:    cargo-cache
Version: 0.8.3
Release: alt1

Summary: manage cargo cache (${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively
License: Apache-2.0 or MIT
Group:   Development/Tools
Url:     https://github.com/matthiaskrgr/cargo-cache.git

# Some tests require the source code directory name in form of %name instead

# of %name-%version
Source: %name.tar

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

%if_with check
BuildRequires: git-core
%endif

%description
Display information on the cargo cache (~/.cargo/ or $CARGO_HOME).
Optional cache pruning.

%prep
# Some tests require the source code directory name in form of %name instead
# of %name-%version
%setup -n %name

%build
%rust_build

%install
%rust_install

%check
# Skip tests that use network
%rust_test --all -- --skip CARGO_HOME_subdirs_are_known \
   --skip alternative_registry_works \
   --skip test_clean_unref \
   --skip remove_dirs \
   --skip build_and_check_size_test \
   --skip spurious_files_in_cache_test

%files
%doc *.md LICENSE-APACHE LICENSE-MIT COPYRIGHT
%_bindir/%name

%changelog

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

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