- 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
This commit is contained in:
YaST Team Bot 2019-06-04 09:34:51 +00:00 committed by Git OBS Bridge
parent 411e9034d5
commit 6e39894688
4 changed files with 29 additions and 28 deletions

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 31 12:29:57 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>
- Add metainfo (fate#319035)
- Revamp spec
- Replace GenericName with Comment
- 4.2.1
-------------------------------------------------------------------
Fri Apr 26 12:30:53 UTC 2019 - jreidinger <jreidinger@suse.com>

View File

@ -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