From 6e39894688a5b65da6b83cf2bbe338b5eb874101165bca7cf7fec8fdca030309 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Tue, 4 Jun 2019 09:34:51 +0000 Subject: [PATCH] - Add metainfo (fate#319035) - Revamp spec - Replace GenericName with Comment - 4.2.1 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-firewall?expand=0&rev=231 --- yast2-firewall-4.2.0.tar.bz2 | 3 --- yast2-firewall-4.2.1.tar.bz2 | 3 +++ yast2-firewall.changes | 8 +++++++ yast2-firewall.spec | 43 +++++++++++++++--------------------- 4 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 yast2-firewall-4.2.0.tar.bz2 create mode 100644 yast2-firewall-4.2.1.tar.bz2 diff --git a/yast2-firewall-4.2.0.tar.bz2 b/yast2-firewall-4.2.0.tar.bz2 deleted file mode 100644 index 29d6b3b..0000000 --- a/yast2-firewall-4.2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0bac1d43ef1df37cde3528df62df31e791e346320737d10045cc865e6e4bfd00 -size 52756 diff --git a/yast2-firewall-4.2.1.tar.bz2 b/yast2-firewall-4.2.1.tar.bz2 new file mode 100644 index 0000000..e48d202 --- /dev/null +++ b/yast2-firewall-4.2.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2efb91474c25ac6afaefd25e0124d93382ed14875d9a3fa8168da74e983e3855 +size 52717 diff --git a/yast2-firewall.changes b/yast2-firewall.changes index da47351..abdee59 100644 --- a/yast2-firewall.changes +++ b/yast2-firewall.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 31 12:29:57 UTC 2019 - Stasiek Michalski + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.1 + ------------------------------------------------------------------- Fri Apr 26 12:30:53 UTC 2019 - jreidinger diff --git a/yast2-firewall.spec b/yast2-firewall.spec index eceffd0..558d4ca 100644 --- a/yast2-firewall.spec +++ b/yast2-firewall.spec @@ -17,17 +17,19 @@ Name: yast2-firewall -Version: 4.2.0 +Version: 4.2.1 Release: 0 +Summary: YaST2 - Firewall Configuration +License: GPL-2.0-only +Group: System/YaST +Url: https://github.com/yast/yast-firewall -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 BuildRequires: perl-XML-Writer BuildRequires: update-desktop-files -BuildRequires: yast2-devtools >= 3.1.10 +BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-testsuite - # Removed zone name from common attributes definition BuildRequires: yast2 >= 4.1.67 BuildRequires: rubygem(%rb_default_ruby_abi:rspec) @@ -35,6 +37,7 @@ BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) # Removed zone name from common attributes definition Requires: yast2 >= 4.1.67 +Requires: yast2-ruby-bindings >= 1.0.0 # ButtonBox widget Conflicts: yast2-ycp-ui-bindings < 2.17.3 @@ -42,45 +45,35 @@ Conflicts: yast2-ycp-ui-bindings < 2.17.3 Conflicts: yast2-bootloader < 4.2.1 Provides: yast2-config-firewall -Obsoletes: yast2-config-firewall Provides: yast2-trans-firewall + +Obsoletes: yast2-config-firewall Obsoletes: yast2-trans-firewall BuildArch: noarch -Requires: yast2-ruby-bindings >= 1.0.0 - -Summary: YaST2 - Firewall Configuration -License: GPL-2.0-only -Group: System/YaST - %description A YaST2 module to be used for configuring a firewall. %prep -%setup -n %{name}-%{version} +%setup -q %check -rake test:unit +%yast_check %build %install -rake install DESTDIR="%{buildroot}" - -# Remove the license from the /usr/share/doc/packages directory, -# it is also included in the /usr/share/licenses directory by using -# the %license tag. -rm -f $RPM_BUILD_ROOT/%{yast_docdir}/COPYING +%yast_install +%yast_metainfo %files -%defattr(-,root,root) -%{yast_dir}/clients/*.rb -%{yast_dir}/lib -%{yast_desktopdir}/*.desktop -%{yast_schemadir}/autoyast/rnc/firewall.rnc +%{yast_clientdir} +%{yast_libdir} +%{yast_desktopdir} +%{yast_metainfodir} +%{yast_schemadir} %{yast_icondir} - %license COPYING %doc README.md %doc CONTRIBUTING.md