-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from oliverkurth/topic/okurth/rpm-verbosity
fix rpm verbosity default, and fix rpm scriptlet output when json is enabled
- Loading branch information
1 parent
676c901
commit 946863e
Showing
6 changed files
with
120 additions
and
2 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
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
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
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,51 @@ | ||
# | ||
# tdnf test spec file | ||
# | ||
Summary: basic install test file. | ||
Name: tdnf-verbose-scripts | ||
Version: 1.0.1 | ||
Release: 2 | ||
Vendor: VMware, Inc. | ||
Distribution: Photon | ||
License: VMware | ||
Url: http://www.vmware.com | ||
Group: Applications/tdnftest | ||
|
||
%description | ||
Part of tdnf test spec. Basic install/remove/upgrade test | ||
|
||
%prep | ||
|
||
%build | ||
|
||
%install | ||
mkdir -p %_topdir/%buildroot/lib/systemd/system/ | ||
echo %_topdir/%buildroot/lib/systemd/system/%{name}.service | ||
cat << EOF >> %_topdir/%buildroot/lib/systemd/system/%{name}.service | ||
[Unit] | ||
Description=%{name}.service for rpm script test. | ||
EOF | ||
|
||
%post | ||
echo "echo from post" | ||
echo "echo to stderr from post" >&2 | ||
|
||
%postun | ||
echo "echo from postun" | ||
echo "echo to stderr from postun" >&2 | ||
|
||
%pre | ||
echo "echo from pre" | ||
echo "echo to stderr from pre" >&2 | ||
|
||
%preun | ||
echo "echo from preun" | ||
echo "echo to stderr from preun" >&2 | ||
|
||
%files | ||
/lib/systemd/system/%{name}.service | ||
|
||
%changelog | ||
* Tue Jul 11 2023 Oliver Kurth <[email protected]> | ||
- test script output redirection |
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
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