Skip to content

Commit

Permalink
Merge pull request #49 from hellcp/master
Browse files Browse the repository at this point in the history
Add metadata into packages
  • Loading branch information
lslezak committed Jun 10, 2019
2 parents afeea3c + f3549cd commit 73251a5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 25 deletions.
8 changes: 8 additions & 0 deletions package/yast2-migration.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 31 12:33:35 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>

- Add metainfo (fate#319035)
- Revamp spec
- Replace GenericName with Comment
- 4.2.0

-------------------------------------------------------------------
Thu May 30 14:08:16 UTC 2019 - Ladislav Slezák <lslezak@suse.cz>

Expand Down
48 changes: 24 additions & 24 deletions package/yast2-migration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,66 +12,66 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name: yast2-migration
Version: 4.1.2
Version: 4.2.0
Release: 0
Summary: YaST2 - Online migration
Group: System/YaST
License: GPL-2.0
Url: https://github.com/yast/yast-migration

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2

Group: System/YaST
License: GPL-2.0
Url: http://github.com/yast/yast-migration
BuildRequires: yast2-buildtools
BuildRequires: yast2 >= 3.1.130
BuildRequires: yast2-buildtools >= 4.2.2
BuildRequires: yast2 >= 3.1.130
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(yast-rake)
BuildRequires: yast2-packager
BuildRequires: yast2-ruby-bindings
# needed in build for testing
BuildRequires: yast2-installation >= 3.1.137
BuildRequires: yast2-update
Requires: yast2 >= 3.1.130
Requires: yast2-packager
Requires: yast2-pkg-bindings

Requires: yast2 >= 3.1.130
Requires: yast2-packager
Requires: yast2-pkg-bindings
Requires: yast2-ruby-bindings
# new rollback client
Requires: yast2-registration >= 3.1.153
# need recent enough installation for working proposal runner
Requires: yast2-installation >= 3.1.146
Requires: yast2-update

Supplements: yast2-registration

BuildArch: noarch

Summary: YaST2 - Online migration

%description
This package contains the YaST2 component for online migration.

%prep
%setup -n %{name}-%{version}
%setup -q

%check
rake test:unit
%yast_check

%build

%install
rake install DESTDIR="%{buildroot}"
%yast_install
%yast_metainfo

%files
%defattr(-,root,root)
%{yast_clientdir}/*.rb
%{yast_libdir}/migration
%{yast_desktopdir}/*.desktop
%{yast_clientdir}
%{yast_libdir}
%{yast_desktopdir}
%{yast_metainfodir}
%{yast_icondir}

%dir %{yast_docdir}
%license COPYING
%doc %{yast_docdir}/README.md
%doc %{yast_docdir}/CONTRIBUTING.md
%doc %{yast_docdir}

%changelog
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ X-SuSE-YaST-SortKey=
Icon=yast-migration
Exec=xdg-su -c "/sbin/yast2 migration"

Name=Online Migration
Name=YaST Online Migration
GenericName=Online Migration
Comment=Migration via the network
StartupNotify=true

0 comments on commit 73251a5

Please sign in to comment.