-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for installing installonly through provides
- Loading branch information
Showing
5 changed files
with
244 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
dnf-behave-tests/fixtures/specs/kernel/kernel-1.0.0-1.fc29.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Name: kernel | ||
Epoch: 0 | ||
Version: 1.0.0 | ||
Release: 1.fc29 | ||
|
||
License: GPLv2 and Redistributable, no modification permitted | ||
URL: https://www.kernel.org/ | ||
|
||
Summary: The Linux kernel | ||
|
||
Requires: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
Requires: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description | ||
The kernel meta package | ||
|
||
%package core | ||
Summary: The Linux kernel | ||
|
||
Provides: installonlypkg(kernel) | ||
Provides: kernel-uname-r = %{version}-%{release}.x86_64 | ||
Provides: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description core | ||
The kernel package contains the Linux kernel (vmlinuz), the core of any | ||
Linux operating system. The kernel handles the basic functions | ||
of the operating system: memory allocation, process allocation, device | ||
input and output, etc. | ||
|
||
%package modules | ||
Summary: kernel modules to match the core kernel | ||
|
||
Provides: installonlypkg(kernel-module) | ||
Provides: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
|
||
Requires: kernel-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description modules | ||
This package provides commonly used kernel modules for the core kernel package. | ||
|
||
%files | ||
|
||
%files core | ||
%ghost /boot/vmlinuz-%{version}-%{release}.x86_64 | ||
|
||
%files modules | ||
|
||
%changelog |
48 changes: 48 additions & 0 deletions
48
dnf-behave-tests/fixtures/specs/kernel/kernel-2.0.0-1.fc29.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Name: kernel | ||
Epoch: 0 | ||
Version: 2.0.0 | ||
Release: 1.fc29 | ||
|
||
License: GPLv2 and Redistributable, no modification permitted | ||
URL: https://www.kernel.org/ | ||
|
||
Summary: The Linux kernel | ||
|
||
Requires: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
Requires: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description | ||
The kernel meta package | ||
|
||
%package core | ||
Summary: The Linux kernel | ||
|
||
Provides: installonlypkg(kernel) | ||
Provides: kernel-uname-r = %{version}-%{release}.x86_64 | ||
Provides: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description core | ||
The kernel package contains the Linux kernel (vmlinuz), the core of any | ||
Linux operating system. The kernel handles the basic functions | ||
of the operating system: memory allocation, process allocation, device | ||
input and output, etc. | ||
|
||
%package modules | ||
Summary: kernel modules to match the core kernel | ||
|
||
Provides: installonlypkg(kernel-module) | ||
Provides: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
|
||
Requires: kernel-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description modules | ||
This package provides commonly used kernel modules for the core kernel package. | ||
|
||
%files | ||
|
||
%files core | ||
%ghost /boot/vmlinuz-%{version}-%{release}.x86_64 | ||
|
||
%files modules | ||
|
||
%changelog |
48 changes: 48 additions & 0 deletions
48
dnf-behave-tests/fixtures/specs/kernel/kernel-3.0.0-1.fc29.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Name: kernel | ||
Epoch: 0 | ||
Version: 3.0.0 | ||
Release: 1.fc29 | ||
|
||
License: GPLv2 and Redistributable, no modification permitted | ||
URL: https://www.kernel.org/ | ||
|
||
Summary: The Linux kernel | ||
|
||
Requires: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
Requires: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description | ||
The kernel meta package | ||
|
||
%package core | ||
Summary: The Linux kernel | ||
|
||
Provides: installonlypkg(kernel) | ||
Provides: kernel-uname-r = %{version}-%{release}.x86_64 | ||
Provides: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description core | ||
The kernel package contains the Linux kernel (vmlinuz), the core of any | ||
Linux operating system. The kernel handles the basic functions | ||
of the operating system: memory allocation, process allocation, device | ||
input and output, etc. | ||
|
||
%package modules | ||
Summary: kernel modules to match the core kernel | ||
|
||
Provides: installonlypkg(kernel-module) | ||
Provides: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
|
||
Requires: kernel-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description modules | ||
This package provides commonly used kernel modules for the core kernel package. | ||
|
||
%files | ||
|
||
%files core | ||
%ghost /boot/vmlinuz-%{version}-%{release}.x86_64 | ||
|
||
%files modules | ||
|
||
%changelog |
48 changes: 48 additions & 0 deletions
48
dnf-behave-tests/fixtures/specs/kernel/kernel-4.0.0-1.fc29.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Name: kernel | ||
Epoch: 0 | ||
Version: 4.0.0 | ||
Release: 1.fc29 | ||
|
||
License: GPLv2 and Redistributable, no modification permitted | ||
URL: https://www.kernel.org/ | ||
|
||
Summary: The Linux kernel | ||
|
||
Requires: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
Requires: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description | ||
The kernel meta package | ||
|
||
%package core | ||
Summary: The Linux kernel | ||
|
||
Provides: installonlypkg(kernel) | ||
Provides: kernel-uname-r = %{version}-%{release}.x86_64 | ||
Provides: kernel-core-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description core | ||
The kernel package contains the Linux kernel (vmlinuz), the core of any | ||
Linux operating system. The kernel handles the basic functions | ||
of the operating system: memory allocation, process allocation, device | ||
input and output, etc. | ||
|
||
%package modules | ||
Summary: kernel modules to match the core kernel | ||
|
||
Provides: installonlypkg(kernel-module) | ||
Provides: kernel-modules-uname-r = %{version}-%{release}.x86_64 | ||
|
||
Requires: kernel-uname-r = %{version}-%{release}.x86_64 | ||
|
||
%description modules | ||
This package provides commonly used kernel modules for the core kernel package. | ||
|
||
%files | ||
|
||
%files core | ||
%ghost /boot/vmlinuz-%{version}-%{release}.x86_64 | ||
|
||
%files modules | ||
|
||
%changelog |