- Add metainfo (fate#319035)

- Revamp spec
- Replace GenericName with Comment
- 4.2.0

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-cio?expand=0&rev=14
This commit is contained in:
YaST Team Bot 2019-06-03 15:47:28 +00:00 committed by Git OBS Bridge
parent a176d104a9
commit 3c2fd33473
4 changed files with 30 additions and 28 deletions

View File

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

3
yast2-cio-4.2.0.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 31 12:27:13 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>
- Add metainfo (fate#319035)
- Revamp spec
- Replace GenericName with Comment
- 4.2.0
-------------------------------------------------------------------
Sun Nov 25 17:20:40 UTC 2018 - Stasiek Michalski <hellcp@mailbox.org>

View File

@ -24,55 +24,49 @@
######################################################################
Name: yast2-cio
Version: 4.1.0
Version: 4.2.0
Release: 0
ExclusiveArch: s390 s390x
Summary: YaST2 - IO Channel management
License: GPL-2.0-only OR GPL-3.0-only
Group: System/YaST
Url: https://github.com/yast/yast-cio
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Requires: s390-tools
Requires: yast2 >= 3.0.5
Requires: yast2-ruby-bindings >= 1.2.0
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 3.0.5
BuildRequires: yast2-devtools >= 1.2.0
BuildRequires: yast2-devtools >= 4.2.2
BuildRequires: yast2-ruby-bindings >= 1.2.0
#for install task
BuildRequires: rubygem(yast-rake)
# for tests
BuildRequires: rubygem(rspec)
Summary: YaST2 - IO Channel management
License: GPL-2.0-only OR GPL-3.0-only
Group: System/YaST
Url: https://github.com/yast/yast-cio
Requires: s390-tools
Requires: yast2 >= 3.0.5
Requires: yast2-ruby-bindings >= 1.2.0
ExclusiveArch: s390 s390x
%description
Provides interface for blacklisting and unblocking IO channels
%prep
%setup -n %{name}-%{version}
%setup -q
%check
rake test:unit
%yast_check
%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/iochannel
%{yast_desktopdir}/cio.desktop
%{yast_clientdir}
%{yast_libdir}
%{yast_desktopdir}
%{yast_metainfodir}
%{yast_icondir}
%doc README.md
%license COPYING