Makefile: install cargodeps without extension
Otherwise RPM bytecompile script will try to create bytecompiled code and will fail. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
a63ea7f3ed
commit
0038452903
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ install-rust2rpm: rust2rpm.pyz
|
|||
install-cargodeps: cargodeps.pyz
|
||||
@echo "Installing cargodeps zipapp"
|
||||
install -d -m 0755 $(DESTDIR)$(RPMDIR)
|
||||
install -m 0755 -p cargodeps.pyz $(DESTDIR)$(RPMDIR)/cargodeps.py
|
||||
install -m 0755 -p cargodeps.pyz $(DESTDIR)$(RPMDIR)/cargodeps
|
||||
@echo "Installing RPM macro"
|
||||
install -d -m 0755 $(DESTDIR)$(RPMDIR)/macros.d
|
||||
install -m 0644 -p data/macros.rust-srpm $(DESTDIR)$(RPMDIR)/macros.d/macros.rust-srpm
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%__cargo_provides %{_rpmconfigdir}/cargodeps.py --provides
|
||||
%__cargo_requires %{_rpmconfigdir}/cargodeps.py --requires
|
||||
%__cargo_conflicts %{_rpmconfigdir}/cargodeps.py --conflicts
|
||||
%__cargo_provides %{_rpmconfigdir}/cargodeps --provides
|
||||
%__cargo_requires %{_rpmconfigdir}/cargodeps --requires
|
||||
%__cargo_conflicts %{_rpmconfigdir}/cargodeps --conflicts
|
||||
%__cargo_path ^%{cargo_registry}/[^/]+/Cargo\\.toml$
|
||||
|
|
Loading…
Reference in a new issue