Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37852661
en ru br
ALT Linux repositórios
S:0.8.3-alt1

Group :: Development/Tools
RPM: cargo-cache

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009