From 915d5088eb32d0bce8987d9884e4a4d921f67d2267b674c6b1c636d944219c5d Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Tue, 4 Jun 2019 14:53:41 +0000 Subject: [PATCH] - 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 --- yast2-ntp-client-4.1.8.tar.bz2 | 3 --- yast2-ntp-client-4.2.0.tar.bz2 | 3 +++ yast2-ntp-client.changes | 8 +++++++ yast2-ntp-client.spec | 42 +++++++++++++++++----------------- 4 files changed, 32 insertions(+), 24 deletions(-) delete mode 100644 yast2-ntp-client-4.1.8.tar.bz2 create mode 100644 yast2-ntp-client-4.2.0.tar.bz2 diff --git a/yast2-ntp-client-4.1.8.tar.bz2 b/yast2-ntp-client-4.1.8.tar.bz2 deleted file mode 100644 index 493d6fb..0000000 --- a/yast2-ntp-client-4.1.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c64a6121955ff31e12ed6eca8ba77cc9493631e8a340a64a9c7f0ea8f2ab11b -size 65292 diff --git a/yast2-ntp-client-4.2.0.tar.bz2 b/yast2-ntp-client-4.2.0.tar.bz2 new file mode 100644 index 0000000..8341a4f --- /dev/null +++ b/yast2-ntp-client-4.2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edcc5795b25a41a7f9f282cee121b854fdfeba6450231531adfb4418567c7d06 +size 65326 diff --git a/yast2-ntp-client.changes b/yast2-ntp-client.changes index 1a9a8ef..1cfc901 100644 --- a/yast2-ntp-client.changes +++ b/yast2-ntp-client.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 31 12:35:08 UTC 2019 - Stasiek Michalski + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.0 + ------------------------------------------------------------------- Tue Mar 19 16:33:52 UTC 2019 - ancor@suse.com diff --git a/yast2-ntp-client.spec b/yast2-ntp-client.spec index 76644f3..5c5d1c4 100644 --- a/yast2-ntp-client.spec +++ b/yast2-ntp-client.spec @@ -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