rename cargo-deps.py to cargodeps.py
To allow importing from outside. import cargo-deps doesn't really work. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
1ac75bb703
commit
cd9f892d51
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
%__cargo_provides %{_rpmconfigdir}/cargo-deps.py --provides
|
||||
%__cargo_requires %{_rpmconfigdir}/cargo-deps.py --requires
|
||||
%__cargo_conflicts %{_rpmconfigdir}/cargo-deps.py --conflicts
|
||||
%__cargo_provides %{_rpmconfigdir}/cargodeps.py --provides
|
||||
%__cargo_requires %{_rpmconfigdir}/cargodeps.py --requires
|
||||
%__cargo_conflicts %{_rpmconfigdir}/cargodeps.py --conflicts
|
||||
%__cargo_path ^%{cargo_registry}/[^/]+/Cargo\\.toml$
|
||||
|
|
2
test.py
2
test.py
|
@ -12,7 +12,7 @@ pub fn say_hello() {
|
|||
println!("Hello, World!");
|
||||
}
|
||||
"""
|
||||
DEPGEN = os.path.join(os.path.dirname(__file__), "cargo-deps.py")
|
||||
DEPGEN = os.path.join(os.path.dirname(__file__), "cargodeps.py")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
Loading…
Reference in a new issue