Skip to content

Commit

Permalink
Specify required version for symlink packages
Browse files Browse the repository at this point in the history
[packaging] Specify required version for symlink packages. Contributes to JB#40843

Otherwise sometimes symlink package might be installed with a version of
busybox that doesn't provide the required applet.

Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
  • Loading branch information
Tomin1 committed Jan 4, 2019
1 parent a6eb434 commit 35a41a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rpm/busybox.spec
Expand Up @@ -44,7 +44,7 @@ particularly those involving broken shared libraries. This package provides
a statically linked version of Busybox.

%package symlinks-dosfstools
Requires: %{name}
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox replacements for dosfstools

Expand All @@ -56,7 +56,7 @@ particularly those involving broken shared libraries. This
is the symlinks implementing part of dosfstools.

%package symlinks-gzip
Requires: %{name}
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox replacements for gzip
Provides: gzip = %{version}
Expand All @@ -70,7 +70,7 @@ particularly those involving broken shared libraries. This
is the symlinks implementing gzip replacements.

%package symlinks-dhcp
Requires: %{name}
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox dhcp utilities

Expand All @@ -82,7 +82,7 @@ particularly those involving broken shared libraries. This contains
the symlinks implementing the dhcp utilities (udhcpc/udhcpcd).

%package symlinks-diffutils
Requires: %{name}
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox replacements for diffutils
Provides: diffutils = %{version}
Expand All @@ -96,7 +96,7 @@ particularly those involving broken shared libraries. This
is the symlinks implementing part of diffutils replacements.

%package symlinks-findutils
Requires: %{name}
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox replacements for findutils
Provides: findutils = %{version}
Expand All @@ -110,7 +110,7 @@ particularly those involving broken shared libraries. This
is the symlinks implementing findutils replacements.

%package symlinks-grep
Requires: %{name}
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox replacements for grep
Provides: grep = %{version}
Expand Down

0 comments on commit 35a41a7

Please sign in to comment.