- add alias services for services-manager client
- replace old tests with rspec tests
- add yast clients: target_proposal, services_proposal, target_finish
- various fixes of modules' API

- Fix the ruby dep and drop clean section as it is useless.

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-services-manager?expand=0&rev=16
This commit is contained in:
ZYpp Developers 2013-10-25 13:22:52 +00:00 committed by Git OBS Bridge
parent ee1b882cae
commit 9eed2ee398
4 changed files with 41 additions and 26 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d95c1edeffc70dd8b6fe4f1fe7ef90a19c5e0befefa386cc2fa3091dfbca28d4
size 21640

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Oct 25 12:31:53 UTC 2013 - vmoravec@suse.com
- 0.0.10
- add alias services for services-manager client
- replace old tests with rspec tests
- add yast clients: target_proposal, services_proposal, target_finish
- various fixes of modules' API
-------------------------------------------------------------------
Sun Sep 15 08:49:56 UTC 2013 - tchvatal@suse.com
- Fix the ruby dep and drop clean section as it is useless.
-------------------------------------------------------------------
Fri Sep 13 14:42:38 UTC 2013 - vmoravec@suse.com

View File

@ -24,58 +24,56 @@
######################################################################
Name: yast2-services-manager
Version: 0.0.9
Version: 0.0.10
Release: 0
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-services-manager.tar.bz2
Source0: %{name}.tar.bz2
Requires: ruby >= 2.0.0
Requires: yast2 >= 2.24.1
Requires: ruby >= 2.0
Requires: yast2 >= 3.0.5
Requires: yast2-ruby-bindings >= 1.2.0
BuildRequires: ruby
BuildRequires: rubygem-mocha
BuildRequires: rubygem-rspec
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 2.24.1
BuildRequires: yast2 >= 3.0.5
BuildRequires: yast2-ruby-bindings >= 1.2.0
Summary: YaST2 - Services Manager
License: GPL-2.0
License: GPL-2.0+
Group: System/YaST
Url: https://github.com/yast/yast-services-manager
%description
Provides user interface and libraries to configure running services and the default target.
Provides user interface and libraries to configure systemd
services and targets.
%prep
%setup -n yast2-services-manager
%build
# Temporary fix: Disabling tests that do not work in openSUSE higher than 12.3
echo 0%{?suse_version}
%if 0%{?suse_version} > 0 && 0%{?suse_version} <= 1230
rake test
%endif
rspec test/*_test.rb
%install
rake install DESTDIR="$RPM_BUILD_ROOT"
rake install DESTDIR="%{buildroot}"
%suse_update_desktop_file services-manager
%clean
rm -rf "$RPM_BUILD_ROOT"
%define yast_dir %{_prefix}/share/YaST2
%files
%defattr(-,root,root)
%{_prefix}/share/YaST2/clients/*.rb
%{_prefix}/share/YaST2/modules/*.rb
%{yast_dir}/clients/*.rb
%{yast_dir}/modules/*.rb
%{yast_dir}/schema/autoyast/rnc/*.rnc
%{yast_dir}/lib/services-manager/*.rb
%dir %{yast_dir}/lib/
%{yast_dir}/lib/services-manager/
%{_prefix}/share/applications/YaST2/services-manager.desktop
%{_prefix}/share/YaST2/schema/autoyast/rnc/*.rnc
# Only license comes here, the rest will be in 'doc' package
%doc %dir %{_prefix}/share/doc/packages/yast2-services-manager/
%doc %{_prefix}/share/doc/packages/yast2-services-manager/README
%doc %{_prefix}/share/doc/packages/yast2-services-manager/COPYING
%dir %_docdir/
%_docdir/%name/
%_docdir/%name/COPYING
%changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:615185774bd459bbd64c3486ed8df6ccff70d9ad5b64bae1663e70183680d4aa
size 16531
oid sha256:c1f7732f56e7d2b2756b51bb1769b88a69a3f15ebc92f603c50066d834a66eb2
size 20329