Skip to content
Snippets Groups Projects
Commit b3a9d595 authored by Apertis package maintainers's avatar Apertis package maintainers
Browse files

d/rules: remove conflicting binaries


Some of the executables installed by `rust-coreutils` are already
provided by other packages:
- `more` is provided by `util-linux`
- `hostname` is provided by `hostname`
- `kill` and `uptime` are provided by `procps`

Removing those executables from this package solves conflicts.

Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
parent 119f63de
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,10 @@ override_dh_auto_test:
override_dh_auto_install:
CARGO_HOME=$(shell pwd)/debian/cargo_home DEB_CARGO_CRATE=coreutils_$(VERSION) /usr/share/cargo/bin/cargo prepare-debian debian/cargo_registry --link-from-system
CARGO_HOME=$(shell pwd)/debian/cargo_home DESTDIR=$(CURDIR)/debian/tmp/ make install PROFILE=release
rm -rf $(CURDIR)/debian/tmp/usr/local/bin/hostname \
$(CURDIR)/debian/tmp/usr/local/bin/kill \
$(CURDIR)/debian/tmp/usr/local/bin/more \
$(CURDIR)/debian/tmp/usr/local/bin/uptime
for f in $(CURDIR)/debian/tmp/usr/local/bin/*; do \
filename=$$(basename $$f); \
help2man $$f > docs/$$filename.1; \
......
......@@ -27,9 +27,6 @@ usr/local/bin/touch /bin/
usr/local/bin/true /bin/
usr/local/bin/uname /bin/
#usr/local/bin/vdir /bin/
usr/local/bin/hostname /bin/
usr/local/bin/kill /bin/
usr/local/bin/more /bin/
# GNU/Coreutils: Installed in /usr/bin/
#usr/local/bin/[ usr/bin
......@@ -110,5 +107,4 @@ usr/local/bin/whoami usr/bin
usr/local/bin/yes usr/bin
usr/local/bin/chroot usr/bin
usr/local/bin/hashsum usr/bin
usr/local/bin/uptime usr/bin
usr/local/bin/relpath usr/bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment