Skip to content

Commit

Permalink
YCP Killer: Apply changes needed for Ruby translation
Browse files Browse the repository at this point in the history
This module needed few changes before it was possible to translate its
YCP files into Ruby. This commit performs them.

The commit is a result of running YCP Killer's "patch" command. The
history of the applied patch is available here:

  https://github.com/yast/ycp-killer/commits/master/patches/nis-server.patch

See also:

  https://github.com/yast/ycp-killer
  • Loading branch information
yast-bot committed Jul 30, 2013
1 parent ba78cce commit 06edd69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
7 changes: 0 additions & 7 deletions agents/Makefile.am
@@ -1,7 +0,0 @@
#
# Makefile.am for nis-server/agents
#

scrconf_DATA = $(wildcard $(srcdir)/*.scr)

EXTRA_DIST = $(scrconf_DATA)
2 changes: 1 addition & 1 deletion testsuite/Makefile.am
Expand Up @@ -5,7 +5,7 @@
#

AUTOMAKE_OPTIONS = dejagnu
EXTRA_DIST = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.ycp) $(wildcard tests/*.yh)
EXTRA_DIST = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.rb)

testsuite_prepare = @ydatadir@/testsuite/Makefile.testsuite

Expand Down
13 changes: 7 additions & 6 deletions yast2-nis-server.spec.in
Expand Up @@ -18,6 +18,8 @@ Obsoletes: yast2-trans-nis-server

BuildArchitectures: noarch

Requires: yast2-ruby-bindings >= 1.0.0

Summary: YaST2 - Network Information Services (NIS) Server Configuration

%package devel-doc
Expand All @@ -44,14 +46,13 @@ This package contains documentation for yast2-nis-server
%files
%defattr(-,root,root)
%dir @yncludedir@/nis_server
@yncludedir@/nis_server/*.ycp
@yncludedir@/nis_server/*.rb
%dir @moduledir@
@moduledir@/NisServer.ycp
@moduledir@/NisServer.ybc
@moduledir@/NisServer.rb
%dir @clientdir@
@clientdir@/nis_server.ycp
@clientdir@/nis_server_auto.ycp
@clientdir@/nis-server.ycp
@clientdir@/nis_server.rb
@clientdir@/nis_server_auto.rb
@clientdir@/nis-server.rb
%dir @desktopdir@
@desktopdir@/nis_server.desktop
%dir @scrconfdir@
Expand Down

0 comments on commit 06edd69

Please sign in to comment.