1
0

- Add metainfo (fate#319035)

- Revamp spec
- Replace GenericName with Comment
- 4.2.0

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-ntp-client?expand=0&rev=261
This commit is contained in:
YaST Team Bot 2019-06-04 14:53:41 +00:00 committed by Git OBS Bridge
parent b39ea41547
commit 915d5088eb
4 changed files with 32 additions and 24 deletions

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 31 12:35:08 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>
- Add metainfo (fate#319035)
- Revamp spec
- Replace GenericName with Comment
- 4.2.0
-------------------------------------------------------------------
Tue Mar 19 16:33:52 UTC 2019 - ancor@suse.com

View File

@ -17,20 +17,22 @@
Name: yast2-ntp-client
Version: 4.1.8
Version: 4.2.0
Release: 0
Summary: YaST2 - NTP Client Configuration
License: GPL-2.0-or-later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: https://github.com/yast/yast-ntp-client
Source0: %{name}-%{version}.tar.bz2
BuildRequires: augeas-lenses
BuildRequires: autoyast2-installation
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 3.2.21
BuildRequires: yast2-country-data
BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: yast2-devtools >= 4.2.2
BuildRequires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.0
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
@ -44,23 +46,25 @@ Requires: yast2-country-data
Requires: yast2-network >= 4.1.17
Requires: yast2-ruby-bindings >= 1.0.0
Requires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.0
BuildArch: noarch
Obsoletes: yast2-ntp-client-devel-doc
BuildArch: noarch
%description
This package contains the YaST2 component for NTP client configuration.
%prep
%setup -n %{name}-%{version}
%setup -q
%check
rake test:unit
%yast_check
%build
%install
rake install DESTDIR="%{buildroot}"
%yast_install
%yast_metainfo
%post
# upgrade old name and convert it to chrony (bsc#1079122)
@ -70,21 +74,17 @@ if [ -f /etc/cron.d/novell.ntp-synchronize ]; then
fi
%files
%defattr(-,root,root)
%dir %{yast_yncludedir}/ntp-client
%{yast_clientdir}/*
%{yast_dir}/lib
%{yast_yncludedir}/ntp-client/*
%{yast_moduledir}/*.rb
%{yast_desktopdir}/ntp-client.desktop
%{yast_ydatadir}/ntp_servers.yml
%{yast_schemadir}/autoyast/rnc/ntpclient.rnc
%{yast_dir}/lib
%ghost /etc/cron.d/suse-ntp_synchronize
%{yast_clientdir}
%{yast_libdir}
%{yast_yncludedir}
%{yast_moduledir}
%{yast_desktopdir}
%{yast_metainfodir}
%{yast_ydatadir}
%{yast_schemadir}
%ghost %{_sysconfdir}/cron.d/suse-ntp_synchronize
%{yast_icondir}
%dir %{yast_docdir}
%license COPYING
%doc %{yast_docdir}/README.md
%doc %{yast_docdir}/CONTRIBUTING.md
%doc %{yast_docdir}
%changelog