forked from pool/yast2-installation
Accepting request 80396 from YaST:Head
- fix build for older distributions - 2.21.16 OBS-URL: https://build.opensuse.org/request/show/80396 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yast2-installation?expand=0&rev=213
This commit is contained in:
commit
679e0c6994
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4865352059715257916f7e926c66112ecb3942bf210ddced0dbb7411567a9459
|
|
||||||
size 284539
|
|
3
yast2-installation-2.21.16.tar.bz2
Normal file
3
yast2-installation-2.21.16.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1424ae44bdbda4f7e6b9e5e025929a45184381b12f723c613b0ce0ec1d046c5e
|
||||||
|
size 301161
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 31 14:33:50 CEST 2011 - jsuchome@suse.cz
|
||||||
|
|
||||||
|
- fix build for older distributions
|
||||||
|
- 2.21.16
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 29 12:12:55 CEST 2011 - jsuchome@suse.cz
|
Mon Aug 29 12:12:55 CEST 2011 - jsuchome@suse.cz
|
||||||
|
|
||||||
|
@ -1,31 +1,17 @@
|
|||||||
#
|
#
|
||||||
# spec file for package yast2-installation
|
# spec file for package yast2-installation (Version 2.21.16)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# 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/
|
|
||||||
#
|
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: yast2-installation
|
Name: yast2-installation
|
||||||
Version: 2.21.15
|
Version: 2.21.16
|
||||||
Release: 1
|
Release: 0
|
||||||
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: yast2-installation-2.21.15.tar.bz2
|
Source0: yast2-installation-2.21.16.tar.bz2
|
||||||
|
|
||||||
Prefix: /usr
|
prefix: /usr
|
||||||
|
|
||||||
Group: System/YaST
|
Group: System/YaST
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
@ -35,6 +21,7 @@ Source2: YaST2-Firstboot.service
|
|||||||
|
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
%{systemd_requires}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-core-devel yast2-devtools yast2-testsuite
|
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-core-devel yast2-devtools yast2-testsuite
|
||||||
@ -126,14 +113,12 @@ Recommends: yast2-update
|
|||||||
Recommends: yast2-add-on
|
Recommends: yast2-add-on
|
||||||
|
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
%{?systemd_requires}
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArchitectures: noarch
|
||||||
|
|
||||||
Summary: YaST2 - Installation Parts
|
Summary: YaST2 - Installation Parts
|
||||||
|
|
||||||
%package devel-doc
|
%package devel-doc
|
||||||
|
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
Requires: yast2-installation >= 2.15.34
|
Requires: yast2-installation >= 2.15.34
|
||||||
|
|
||||||
@ -148,7 +133,7 @@ System installation code as present on installation media.
|
|||||||
System installation code as present on installation media.
|
System installation code as present on installation media.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n yast2-installation-2.21.15
|
%setup -n yast2-installation-2.21.16
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{prefix}/bin/y2tool y2autoconf
|
%{prefix}/bin/y2tool y2autoconf
|
||||||
@ -176,9 +161,9 @@ for f in `find %{buildroot}%{_datadir}/autoinstall/modules -name "*.desktop"`; d
|
|||||||
%suse_update_desktop_file $f
|
%suse_update_desktop_file $f
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/
|
||||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_unitdir}
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/lib/systemd/system/
|
||||||
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_unitdir}
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
@ -186,6 +171,8 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%post
|
%post
|
||||||
%{fillup_only -ns security checksig}
|
%{fillup_only -ns security checksig}
|
||||||
|
|
||||||
|
%if 0%{suse_version} > 1140
|
||||||
|
|
||||||
%service_add YaST2-Second-Stage.service YaST2-Firstboot.service
|
%service_add YaST2-Second-Stage.service YaST2-Firstboot.service
|
||||||
|
|
||||||
/bin/systemctl enable YaST2-Second-Stage.service > /dev/null 2>&1 || :
|
/bin/systemctl enable YaST2-Second-Stage.service > /dev/null 2>&1 || :
|
||||||
@ -200,6 +187,8 @@ fi
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun YaST2-Second-Stage.service YaST2-Firstboot.service
|
%service_del_postun YaST2-Second-Stage.service YaST2-Firstboot.service
|
||||||
|
|
||||||
|
%endif #suse_version
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/share/YaST2/control
|
%dir /usr/share/YaST2/control
|
||||||
@ -209,8 +198,8 @@ fi
|
|||||||
/usr/share/YaST2/control/*.rnc
|
/usr/share/YaST2/control/*.rnc
|
||||||
|
|
||||||
# systemd service files
|
# systemd service files
|
||||||
%_unitdir/YaST2-Second-Stage.service
|
/lib/systemd/system/YaST2-Second-Stage.service
|
||||||
%_unitdir/YaST2-Firstboot.service
|
/lib/systemd/system/YaST2-Firstboot.service
|
||||||
|
|
||||||
/usr/share/YaST2/clients/*.ycp
|
/usr/share/YaST2/clients/*.ycp
|
||||||
/usr/share/YaST2/modules/*.ycp
|
/usr/share/YaST2/modules/*.ycp
|
||||||
@ -251,4 +240,3 @@ fi
|
|||||||
%doc %{prefix}/share/doc/packages/yast2-installation
|
%doc %{prefix}/share/doc/packages/yast2-installation
|
||||||
%exclude %{prefix}/share/doc/packages/yast2-installation/COPYING
|
%exclude %{prefix}/share/doc/packages/yast2-installation/COPYING
|
||||||
%exclude %{prefix}/share/doc/packages/yast2-installation/README
|
%exclude %{prefix}/share/doc/packages/yast2-installation/README
|
||||||
%changelog
|
|
||||||
|
Loading…
Reference in New Issue
Block a user