Skip to content

Commit

Permalink
rpm: spec: sid-mod-* depend on sid instead of sid-resource-libs
Browse files Browse the repository at this point in the history
The modules alone are useless without the daemon that uses them.
If we depend on sid package instead of sid-resource-libs package,
then the removal of the daemon package will also cause all its modules
to be removed too.
  • Loading branch information
prajnoha committed Feb 13, 2024
1 parent 9c06838 commit 3075771
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rpm/sid.spec
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ This package contains tools to support Storage Instantiation Daemon (SID).

%package mod-dummies
Summary: Dummy block and type module for Storage Instantiation Daemon (SID)
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch}:%{version}-%{release}
%description mod-dummies
This package contains dummy block and type modules for Storage Instantiation
Daemon (SID). Their only purpose is to test SID module functionality and hook
Expand All @@ -405,7 +405,7 @@ execution.

%package mod-block-blkid
Summary: Blkid block module for Storage Instantiation Daemon (SID)
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch}:%{version}-%{release}
%description mod-block-blkid
This package contains blkid block module for Storage Instantiation Daemon (SID).

Expand All @@ -428,7 +428,7 @@ This package contains blkid block module for Storage Instantiation Daemon (SID).

%package mod-block-dm-mpath
Summary: Device-mapper multipath block module for Storage Instantiation Daemon (SID)
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch}:%{version}-%{release}
Requires: device-mapper-multipath-libs >= 0.8.4-7
%description mod-block-dm-mpath
This package contains device-mapper multipath block module for Storage
Expand All @@ -453,7 +453,7 @@ Instantiation Daemon (SID).

%package mod-type-dm
Summary: Device-mapper type module for Storage Instantiation Daemon (SID)
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch}:%{version}-%{release}
%description mod-type-dm
This package contains device-mapper type module for Storage Instantiation
Daemon (SID).
Expand All @@ -478,7 +478,7 @@ Daemon (SID).

%package mod-type-dm-lvm
Summary: LVM type module for Storage Instantiation Daemon (SID)
Requires: %{name}-resource-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch}:%{version}-%{release}
Requires: %{name}-mod-type-dm%{?_isa} = %{?epoch}:%{version}-%{release}
%description mod-type-dm-lvm
This package contains LVM type module for Storage Instantiation
Expand Down

0 comments on commit 3075771

Please sign in to comment.