From cb3d8e909eb75e39aae88194a6432068769e8ced462925377127e8b598d98125 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Mon, 3 Jun 2019 15:12:26 +0000 Subject: [PATCH 1/6] - Add metainfo (fate#319035) - Revamp spec - Replace GenericName with Comment - 4.2.1 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=835 --- autoyast2-4.2.0.tar.bz2 | 3 - autoyast2-4.2.1.tar.bz2 | 3 + autoyast2.changes | 8 +++ autoyast2.spec | 137 ++++++++++++++++++++-------------------- 4 files changed, 79 insertions(+), 72 deletions(-) delete mode 100644 autoyast2-4.2.0.tar.bz2 create mode 100644 autoyast2-4.2.1.tar.bz2 diff --git a/autoyast2-4.2.0.tar.bz2 b/autoyast2-4.2.0.tar.bz2 deleted file mode 100644 index 717fbce..0000000 --- a/autoyast2-4.2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd0127f03590712609c484f9663adb199a47bebce952f5f382194213b2d9bf32 -size 684501 diff --git a/autoyast2-4.2.1.tar.bz2 b/autoyast2-4.2.1.tar.bz2 new file mode 100644 index 0000000..589a839 --- /dev/null +++ b/autoyast2-4.2.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f94628328cbbca5fdb85d6d5a2019d838f5ce25a110bfdc0e365046c1196b371 +size 684849 diff --git a/autoyast2.changes b/autoyast2.changes index c173a79..7630992 100644 --- a/autoyast2.changes +++ b/autoyast2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 31 12:26:24 UTC 2019 - Stasiek Michalski + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.1 + ------------------------------------------------------------------- Mon Apr 29 11:34:37 UTC 2019 - Ladislav Slezák diff --git a/autoyast2.spec b/autoyast2.spec index 4ca0bc7..3987c81 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -18,19 +18,22 @@ #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: autoyast2 -Version: 4.2.0 +Version: 4.2.1 Release: 0 +Summary: YaST2 - Automated Installation +License: GPL-2.0-only +Group: System/YaST +Url: https://github.com/yast/yast-autoinstallation -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: autoyast2-%{version}.tar.bz2 - Source1: autoyast_en_html.tar.bz2 + BuildRequires: update-desktop-files -BuildRequires: yast2-devtools >= 3.1.15 +BuildRequires: yast2-devtools >= 4.2.2 # control.rng BuildRequires: yast2-installation-control # xmllint @@ -50,7 +53,6 @@ BuildRequires: yast2-update >= 3.3.0 BuildRequires: yast2-xml # AutoinstIssues::NoProposal BuildRequires: yast2-storage-ng >= 4.0.160 - # %%{_unitdir} macro definition is in a separate package since 13.1 %if 0%{?suse_version} >= 1310 BuildRequires: systemd-rpm-macros @@ -72,24 +74,21 @@ Requires: yast2-security >= 4.1.1 Requires: yast2-transfer >= 2.21.0 Requires: yast2-xml # AutoinstIssues::NoProposal +Requires: yast2-ruby-bindings >= 1.0.0 Requires: yast2-storage-ng >= 4.0.160 + Conflicts: yast2-installation < 3.1.166 Provides: yast2-config-autoinst -Provides: yast2-module-autoinst -Obsoletes: yast2-config-autoinst -Obsoletes: yast2-module-autoinst Provides: yast2-lib-autoinst +Provides: yast2-module-autoinst + +Obsoletes: yast2-config-autoinst Obsoletes: yast2-lib-autoinst +Obsoletes: yast2-module-autoinst BuildArch: noarch -Requires: yast2-ruby-bindings >= 1.0.0 - -Summary: YaST2 - Automated Installation -License: GPL-2.0-only -Group: System/YaST - %description This package is intended for management of the control files and the AutoYaST2 configurations. This system should only be used by @@ -101,11 +100,13 @@ This file contains YaST2-independent files needed to create installation sources. %package installation -Requires: yast2-ruby-bindings >= 1.0.0 - Summary: YaST2 - Auto Installation Modules -# API for Disabled Modules (ProductControl) Group: System/YaST + +# Y2Storage::AutoinstIssues containing section information +BuildRequires: yast2-storage-ng >= 4.0.15 + +# API for Disabled Modules (ProductControl) Requires: yast2 >= 2.16.36 # After API cleanup Requires: yast2 @@ -124,8 +125,8 @@ Requires: yast2-update >= 3.3.0 Requires: yast2-xml # "transact_by" key in PkgPropertiesAll() Requires: yast2-pkg-bindings >= 4.0.7 -# Y2Storage::AutoinstIssues containing section information -BuildRequires: yast2-storage-ng >= 4.0.15 +Requires: yast2-ruby-bindings >= 1.0.0 + Provides: yast2-trans-autoinst Obsoletes: yast2-trans-autoinst @@ -134,65 +135,64 @@ This package performs auto-installation relying on a control file generated with the autoyast2 package. %prep -%setup -n autoyast2-%{version} +%setup -q %build %yast_build %install %yast_install +%yast_metainfo # Do not *blindly* remove the suse_update_desktop_file calls here. It is # different from the code in the yast_install macro. -for d in $RPM_BUILD_ROOT/usr/share/autoinstall/modules/*.desktop ; do +for d in %{buildroot}%{_datadir}/autoinstall/modules/*.desktop ; do %suse_update_desktop_file $d done # Class conf -install -d -m 700 $RPM_BUILD_ROOT/etc/autoinstall +install -d -m 700 %{buildroot}%{_sysconfdir}/autoinstall # Installation files -install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/scripts -install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/init.d -install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/logs -install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/files -install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/cache +install -d -m 700 %{buildroot}%{_localstatedir}/adm/autoinstall/scripts +install -d -m 700 %{buildroot}%{_localstatedir}/adm/autoinstall/init.d +install -d -m 700 %{buildroot}%{_localstatedir}/adm/autoinstall/logs +install -d -m 700 %{buildroot}%{_localstatedir}/adm/autoinstall/files +install -d -m 700 %{buildroot}%{_localstatedir}/adm/autoinstall/cache # Repository -install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository -install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository/templates -install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository/rules -install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository/classes -install -d $RPM_BUILD_ROOT/var/lib/autoinstall/autoconf -install -d $RPM_BUILD_ROOT/var/lib/autoinstall/tmp +install -d %{buildroot}%{_localstatedir}/lib/autoinstall/repository +install -d %{buildroot}%{_localstatedir}/lib/autoinstall/repository/templates +install -d %{buildroot}%{_localstatedir}/lib/autoinstall/repository/rules +install -d %{buildroot}%{_localstatedir}/lib/autoinstall/repository/classes +install -d %{buildroot}%{_localstatedir}/lib/autoinstall/autoconf +install -d %{buildroot}%{_localstatedir}/lib/autoinstall/tmp # Systemd Stuff -mkdir -p $RPM_BUILD_ROOT/%{_unitdir}/ -install -m 644 scripts/autoyast-initscripts.service $RPM_BUILD_ROOT/%{_unitdir}/ +mkdir -p %{buildroot}%{_unitdir}/ +install -m 644 scripts/autoyast-initscripts.service %{buildroot}%{_unitdir}/ # Documentation -install -d -m 755 $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html -tar xvpfC %{SOURCE1} $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html -mv $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html/autoyast/* $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html/ -rmdir $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html/autoyast +install -d -m 755 %{buildroot}%{yast_docdir}/html +tar xvpfC %{SOURCE1} %{buildroot}%{yast_docdir}/html +mv %{buildroot}%{yast_docdir}/html/autoyast/* %{buildroot}%{yast_docdir}/html/ +rmdir %{buildroot}%{yast_docdir}/html/autoyast %post %{fillup_only -n autoinstall} %files -%defattr(-,root,root) -%dir /etc/autoinstall +%dir %{_sysconfdir}/autoinstall %dir %{yast_yncludedir}/autoinstall -%dir /var/lib/autoinstall/repository -%dir /var/lib/autoinstall/repository/templates -%dir /var/lib/autoinstall/repository/rules -%dir /var/lib/autoinstall/repository/classes -%dir /var/lib/autoinstall/tmp -%doc %{_prefix}/share/doc/packages/autoyast2 +%dir %{_localstatedir}/lib/autoinstall/repository +%dir %{_localstatedir}/lib/autoinstall/repository/templates +%dir %{_localstatedir}/lib/autoinstall/repository/rules +%dir %{_localstatedir}/lib/autoinstall/repository/classes +%dir %{_localstatedir}/lib/autoinstall/tmp +%doc %{yast_docdir} -%dir %yast_desktopdir -%{yast_desktopdir}/autoyast.desktop -%{yast_desktopdir}/clone_system.desktop -/usr/share/autoinstall/modules/*.desktop +%{yast_desktopdir} +%{yast_metainfodir} +%{_datadir}/autoinstall/modules/*.desktop %dir %{yast_yncludedir} %{yast_yncludedir}/autoinstall/classes.rb %{yast_yncludedir}/autoinstall/conftree.rb @@ -226,21 +226,20 @@ rmdir $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html/autoyast %{_fillupdir}/sysconfig.autoinstall %files installation -%defattr(-,root,root) %dir %{yast_scrconfdir} %{yast_scrconfdir}/autoinstall.scr %{yast_scrconfdir}/cfg_autoinstall.scr # DTD files -%dir /usr/share/autoinstall -#%dir /usr/share/autoinstall/dtd -%dir /usr/share/autoinstall/modules -#/usr/share/autoinstall/dtd/* +%dir %{_datadir}/autoinstall +#%dir %{_datadir}/autoinstall/dtd +%dir %{_datadir}/autoinstall/modules +#%{_datadir}/autoinstall/dtd/* # systemd service file %{_unitdir}/autoyast-initscripts.service -%dir /usr/share/autoinstall/xslt -/usr/share/autoinstall/xslt/merge.xslt +%dir %{_datadir}/autoinstall/xslt +%{_datadir}/autoinstall/xslt/merge.xslt # config file %dir %{yast_moduledir} @@ -310,18 +309,18 @@ rmdir $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/autoyast2/html/autoyast %{yast_libdir}/autoinstall/autoinst_issues/*.rb # scripts -%{_prefix}/lib/YaST2/bin/fetch_image.sh -%{_prefix}/lib/YaST2/bin/autoyast-initscripts.sh +%{yast_ybindir}/fetch_image.sh +%{yast_ybindir}/autoyast-initscripts.sh %license COPYING -%dir /var/adm/autoinstall/ -%dir /var/adm/autoinstall/scripts -%dir /var/adm/autoinstall/init.d -%dir /var/adm/autoinstall/logs -%dir /var/adm/autoinstall/files -%dir /var/adm/autoinstall/cache -%dir /var/lib/autoinstall -%dir /var/lib/autoinstall/autoconf +%dir %{_localstatedir}/adm/autoinstall/ +%dir %{_localstatedir}/adm/autoinstall/scripts +%dir %{_localstatedir}/adm/autoinstall/init.d +%dir %{_localstatedir}/adm/autoinstall/logs +%dir %{_localstatedir}/adm/autoinstall/files +%dir %{_localstatedir}/adm/autoinstall/cache +%dir %{_localstatedir}/lib/autoinstall +%dir %{_localstatedir}/lib/autoinstall/autoconf %changelog From 9c3b027efa91dff6c6c68cf2a795d8864603bc20503b8d0952712075264c5c59 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Wed, 12 Jun 2019 10:15:57 +0000 Subject: [PATCH 2/6] - Add multi-device Btrfs related elements to the partitioning schema (part of jsc#SLE-3877). - 4.2.2 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=836 --- autoyast2-4.2.1.tar.bz2 | 3 --- autoyast2-4.2.2.tar.bz2 | 3 +++ autoyast2.changes | 7 +++++++ autoyast2.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 autoyast2-4.2.1.tar.bz2 create mode 100644 autoyast2-4.2.2.tar.bz2 diff --git a/autoyast2-4.2.1.tar.bz2 b/autoyast2-4.2.1.tar.bz2 deleted file mode 100644 index 589a839..0000000 --- a/autoyast2-4.2.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f94628328cbbca5fdb85d6d5a2019d838f5ce25a110bfdc0e365046c1196b371 -size 684849 diff --git a/autoyast2-4.2.2.tar.bz2 b/autoyast2-4.2.2.tar.bz2 new file mode 100644 index 0000000..6f46b5d --- /dev/null +++ b/autoyast2-4.2.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1fe471f3dc25b8400efba5277954777de5f9a1fabed412f43da2ef54ca1506c +size 684897 diff --git a/autoyast2.changes b/autoyast2.changes index 7630992..2d436b7 100644 --- a/autoyast2.changes +++ b/autoyast2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 10 14:11:02 UTC 2019 - José Iván López González + +- Add multi-device Btrfs related elements to the partitioning + schema (part of jsc#SLE-3877). +- 4.2.2 + ------------------------------------------------------------------- Fri May 31 12:26:24 UTC 2019 - Stasiek Michalski diff --git a/autoyast2.spec b/autoyast2.spec index 3987c81..1899262 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.2.1 +Version: 4.2.2 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only From b76aae515227f55f872ef408e219bfa7867b003f3f17dd5cbea4b9970428f433 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Wed, 19 Jun 2019 07:37:38 +0000 Subject: [PATCH 3/6] - Always perform a storage re-probe after executing pre-scripts. - Related to bsc#1133045 - 4.2.3 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=837 --- autoyast2-4.2.2.tar.bz2 | 3 --- autoyast2-4.2.3.tar.bz2 | 3 +++ autoyast2.changes | 7 +++++++ autoyast2.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 autoyast2-4.2.2.tar.bz2 create mode 100644 autoyast2-4.2.3.tar.bz2 diff --git a/autoyast2-4.2.2.tar.bz2 b/autoyast2-4.2.2.tar.bz2 deleted file mode 100644 index 6f46b5d..0000000 --- a/autoyast2-4.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1fe471f3dc25b8400efba5277954777de5f9a1fabed412f43da2ef54ca1506c -size 684897 diff --git a/autoyast2-4.2.3.tar.bz2 b/autoyast2-4.2.3.tar.bz2 new file mode 100644 index 0000000..81b897d --- /dev/null +++ b/autoyast2-4.2.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62e4bee8a59570e9557550ecc0a1324c08d4994f4c0a450a1b9ef4e5315c0e46 +size 684948 diff --git a/autoyast2.changes b/autoyast2.changes index 2d436b7..407d03c 100644 --- a/autoyast2.changes +++ b/autoyast2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 17 13:33:11 UTC 2019 - José Iván López González + +- Always perform a storage re-probe after executing pre-scripts. +- Related to bsc#1133045 +- 4.2.3 + ------------------------------------------------------------------- Mon Jun 10 14:11:02 UTC 2019 - José Iván López González diff --git a/autoyast2.spec b/autoyast2.spec index 1899262..70bf88b 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.2.2 +Version: 4.2.3 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only From 788e4406d20754b4dd0c5239121ebe8f534caa298d101a22267d02194b902432 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Wed, 3 Jul 2019 09:08:38 +0000 Subject: [PATCH 4/6] - Fixed new desktop file name (bsc#1138144). - 4.2.4 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=838 --- autoyast2-4.2.3.tar.bz2 | 3 --- autoyast2-4.2.4.tar.bz2 | 3 +++ autoyast2.changes | 6 ++++++ autoyast2.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 autoyast2-4.2.3.tar.bz2 create mode 100644 autoyast2-4.2.4.tar.bz2 diff --git a/autoyast2-4.2.3.tar.bz2 b/autoyast2-4.2.3.tar.bz2 deleted file mode 100644 index 81b897d..0000000 --- a/autoyast2-4.2.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62e4bee8a59570e9557550ecc0a1324c08d4994f4c0a450a1b9ef4e5315c0e46 -size 684948 diff --git a/autoyast2-4.2.4.tar.bz2 b/autoyast2-4.2.4.tar.bz2 new file mode 100644 index 0000000..59b119e --- /dev/null +++ b/autoyast2-4.2.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b45781910c36687236323fbdff58975b5985de427e0e4cfa8edfcf38229c2697 +size 684708 diff --git a/autoyast2.changes b/autoyast2.changes index 407d03c..3606a3d 100644 --- a/autoyast2.changes +++ b/autoyast2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 3 09:55:40 CEST 2019 - schubi@suse.de + +- Fixed new desktop file name (bsc#1138144). +- 4.2.4 + ------------------------------------------------------------------- Mon Jun 17 13:33:11 UTC 2019 - José Iván López González diff --git a/autoyast2.spec b/autoyast2.spec index 70bf88b..daae103 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.2.3 +Version: 4.2.4 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only From 754ede5733100b8ad7aa83a1915e759b8bfc3f3f12e06cc21026b8d34a5cbe6c Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Thu, 18 Jul 2019 15:07:18 +0000 Subject: [PATCH 5/6] - Fixed an Internal Error when AutoYaST is importing users and groups configuration (bsc#1140339). - 4.2.5 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=839 --- autoyast2-4.2.4.tar.bz2 | 3 --- autoyast2-4.2.5.tar.bz2 | 3 +++ autoyast2.changes | 7 +++++++ autoyast2.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 autoyast2-4.2.4.tar.bz2 create mode 100644 autoyast2-4.2.5.tar.bz2 diff --git a/autoyast2-4.2.4.tar.bz2 b/autoyast2-4.2.4.tar.bz2 deleted file mode 100644 index 59b119e..0000000 --- a/autoyast2-4.2.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b45781910c36687236323fbdff58975b5985de427e0e4cfa8edfcf38229c2697 -size 684708 diff --git a/autoyast2-4.2.5.tar.bz2 b/autoyast2-4.2.5.tar.bz2 new file mode 100644 index 0000000..a509d7d --- /dev/null +++ b/autoyast2-4.2.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c026d5a48469e619f62edeb721eb634b62bae6de2d0e5e11564c0b7bff7c109 +size 685007 diff --git a/autoyast2.changes b/autoyast2.changes index 3606a3d..8e91bd7 100644 --- a/autoyast2.changes +++ b/autoyast2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 18 14:49:00 UTC 2019 - Martin Vidner + +- Fixed an Internal Error when AutoYaST is importing users and + groups configuration (bsc#1140339). +- 4.2.5 + ------------------------------------------------------------------- Wed Jul 3 09:55:40 CEST 2019 - schubi@suse.de diff --git a/autoyast2.spec b/autoyast2.spec index daae103..7343391 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.2.4 +Version: 4.2.5 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only From a854baa0d7abf08f37259d338f7b211f7a1cc5c396bf6ee2edf4ac7e12f6d352 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Thu, 25 Jul 2019 07:57:02 +0000 Subject: [PATCH 6/6] - Use modern tar syntax - Require fillup because it's executed in %post OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=840 --- autoyast2-4.2.5.tar.bz2 | 4 ++-- autoyast2.changes | 6 ++++++ autoyast2.spec | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/autoyast2-4.2.5.tar.bz2 b/autoyast2-4.2.5.tar.bz2 index a509d7d..27db7d6 100644 --- a/autoyast2-4.2.5.tar.bz2 +++ b/autoyast2-4.2.5.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5c026d5a48469e619f62edeb721eb634b62bae6de2d0e5e11564c0b7bff7c109 -size 685007 +oid sha256:9784dd0f9bea40a992b35c3e62e5b8128e2f10809d25acd85dd5bd3e98b76a9a +size 685074 diff --git a/autoyast2.changes b/autoyast2.changes index 8e91bd7..9502412 100644 --- a/autoyast2.changes +++ b/autoyast2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 18 15:05:10 UTC 2019 - Jan Engelhardt + +- Use modern tar syntax +- Require fillup because it's executed in %post + ------------------------------------------------------------------- Thu Jul 18 14:49:00 UTC 2019 - Martin Vidner diff --git a/autoyast2.spec b/autoyast2.spec index 7343391..8bf6ad9 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -89,6 +89,8 @@ Obsoletes: yast2-module-autoinst BuildArch: noarch +Requires(post): %fillup_prereq + %description This package is intended for management of the control files and the AutoYaST2 configurations. This system should only be used by @@ -173,7 +175,7 @@ install -m 644 scripts/autoyast-initscripts.service %{buildroot}%{_unitdir}/ # Documentation install -d -m 755 %{buildroot}%{yast_docdir}/html -tar xvpfC %{SOURCE1} %{buildroot}%{yast_docdir}/html +tar -xvpf %{SOURCE1} -C %{buildroot}%{yast_docdir}/html mv %{buildroot}%{yast_docdir}/html/autoyast/* %{buildroot}%{yast_docdir}/html/ rmdir %{buildroot}%{yast_docdir}/html/autoyast