-
Notifications
You must be signed in to change notification settings - Fork 30
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 #69 from ellert/logrotate-su
Add su option to logrotate file
- Loading branch information
Showing
4 changed files
with
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ | |
rotate 4 | ||
sharedscripts | ||
copytruncate | ||
su root root | ||
} |
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,9 @@ | ||
globus-gram-job-manager (15.4-1+gct.@distro@) @distro@; urgency=medium | ||
|
||
* Add su option to logrotate file | ||
|
||
-- Mattias Ellert <[email protected]> Fri, 15 Feb 2019 16:11:09 +0100 | ||
|
||
globus-gram-job-manager (15.3-1+gct.@distro@) @distro@; urgency=medium | ||
|
||
* Remove usage statistics collection support | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Name: globus-gram-job-manager | ||
%global _name %(tr - _ <<< %{name}) | ||
Version: 15.3 | ||
Version: 15.4 | ||
Release: 1%{?dist} | ||
Summary: Grid Community Toolkit - GRAM Jobmanager | ||
|
||
|
@@ -115,6 +115,11 @@ make install DESTDIR=$RPM_BUILD_ROOT | |
# Remove libtool archives (.la files) | ||
rm $RPM_BUILD_ROOT%{_libdir}/*.la | ||
|
||
%if %{?rhel}%{!?rhel:0} == 6 | ||
# Remove su option from logrotate file in EPEL 6 (not supported) | ||
sed '/ su /d' -i $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/globus-job-manager | ||
%endif | ||
|
||
%check | ||
GLOBUS_HOSTNAME=localhost make %{?_smp_mflags} check VERBOSE=1 | ||
|
||
|
@@ -153,6 +158,9 @@ GLOBUS_HOSTNAME=localhost make %{?_smp_mflags} check VERBOSE=1 | |
%{_libdir}/libglobus_seg_job_manager.so | ||
|
||
%changelog | ||
* Fri Feb 15 2019 Mattias Ellert <[email protected]> - 15.4-1 | ||
- Add su option to logrotate file | ||
|
||
* Fri Dec 07 2018 Mattias Ellert <[email protected]> - 15.3-1 | ||
- Remove usage statistics collection support | ||
|
||
|