[PATCH conductor] BZ #798080: aeolus-conductor RPM outputs to stdout

Martyn Taylor mtaylor at redhat.com
Mon Mar 5 17:05:34 UTC 2012


Works as described, could you please also add comment to the spec.in file.

With comment: Ack

Thanks, Martyn
On 03/02/2012 08:26 PM, Jason Guiditta wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=798080
>
> This is in violation of RPM best practices, cleaning up.
> ---
>   aeolus-conductor.spec.in |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/aeolus-conductor.spec.in b/aeolus-conductor.spec.in
> index 50dea05..35c50e0 100644
> --- a/aeolus-conductor.spec.in
> +++ b/aeolus-conductor.spec.in
> @@ -272,7 +272,9 @@ touch %{buildroot}%{_localstatedir}/log/%{name}/dbomatic.log
>   # if the user had broken the symlinks and put data in here, it would have been
>   # completely ignored *anyway*
>   # Generate OAuth configuration:
> -pushd %{app_root}; export RAILS_ENV=production; rake dc:oauth_keys --trace; popd
> +pushd %{app_root} 2>&1>  /dev/null
> +export RAILS_ENV=production; rake dc:oauth_keys 2>&1>  /dev/null
> +popd 2>&1>  /dev/null
>
>   %{__ln_s} -f %{app_root}/config/environments/development.rb %{_sysconfdir}/%{name}
>   %{__ln_s} -f %{app_root}/config/environments/production.rb %{_sysconfdir}/%{name}




More information about the aeolus-devel mailing list