-
Notifications
You must be signed in to change notification settings - Fork 2
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 #18 from farzadghanei/fix-rpm-v0.1.1
Fix RPM packaging, set version to 0.1.1
- Loading branch information
Showing
6 changed files
with
52 additions
and
12 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ runs other programs and prevents the output under configured criteria | |
:Author: Farzad Ghanei <[email protected]> | ||
:Date: 2020-02-16 | ||
:Copyright: Copyright (c) 2019 Farzad Ghanei. mute is an open source project released under the terms of the MIT license. | ||
:Version: 0.1.0 | ||
:Version: 0.1.1 | ||
:Manual section: 1 | ||
:Manual group: General Command Manuals | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,14 @@ | ||
mute (0.1.1-1) UNRELEASED; urgency=low | ||
|
||
[ Farzad Ghanei ] | ||
|
||
* Fix missing new line at the end of the help message (Closes: #15) | ||
* Fix formatting issues in README | ||
* Redo Debian packaging, support Debian buster, use gbp (Closes: #12) | ||
* Add RPM packaging | ||
|
||
-- Farzad Ghanei <[email protected]> Sun, 16 Aug 2020 12:20:40 +0200 | ||
|
||
mute (0.1.0-1) UNRELEASED; urgency=low | ||
|
||
[ Farzad Ghanei ] | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: mute | ||
Version: 0.1.0 | ||
Version: 0.1.1 | ||
Release: 1%{?dist} | ||
Summary: Run other programs muting the output when configured | ||
|
||
|
@@ -15,9 +15,15 @@ mute runs other programs and mutes the output under configured | |
conditions. A good use case is to keep cron jobs silenced and avoid receiving | ||
emails for known conditions. | ||
|
||
%prep | ||
echo 'no prep needed!' | ||
|
||
# go toolchain stores go build id in a different ELF note than GNU toolchain | ||
# so RPM can't find the build id from the binaries after build. | ||
# https://github.com/rpm-software-management/rpm/issues/367 | ||
%global _missing_build_ids_terminate_build 0 | ||
%define debug_package %{nil} | ||
|
||
%prep | ||
%setup -c -q | ||
|
||
%build | ||
%make_build | ||
|
@@ -30,6 +36,10 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 | |
cp -a docs/man/mute.1 $RPM_BUILD_ROOT/usr/share/man/man1/%{name}.1 | ||
|
||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
|
||
%files | ||
%license LICENSE | ||
%doc README.rst | ||
|
@@ -38,6 +48,12 @@ cp -a docs/man/mute.1 $RPM_BUILD_ROOT/usr/share/man/man1/%{name}.1 | |
|
||
|
||
%changelog | ||
* Sun Aug 16 2020 Farzad Ghanei <[email protected]> 0.1.1-1 | ||
- Fix missing new line at the end of the help message (Closes: #15) | ||
- Fix formatting issues in README | ||
- Redo Debian packaging, support Debian buster, use gbp (Closes: #12) | ||
- Add RPM packaging | ||
|
||
* Sun Jan 05 2020 Farzad Ghanei <[email protected]> 0.1.0-1 | ||
- Handle signals (Closes: #4) | ||
- Use environment variables to configure current run | ||
|