forked from pool/yast2-installation
- reduce time needed for building this package
OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-installation?expand=0&rev=824
This commit is contained in:
parent
48b334e6e6
commit
166443b518
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:cc4a7564a6d7016773b08de805353a17e5516613c33047691e99089499db2ddf
|
oid sha256:f19f92c725b09c8612e098a08eea410337c8c28c598fa2ea849521b29b55080c
|
||||||
size 437993
|
size 429145
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 14 13:53:41 UTC 2016 - jreidinger@suse.com
|
||||||
|
|
||||||
|
- reduce time needed for building this package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 13 12:37:57 UTC 2016 - jreidinger@suse.com
|
Tue Sep 13 12:37:57 UTC 2016 - jreidinger@suse.com
|
||||||
|
|
||||||
|
@ -33,20 +33,16 @@ Group: System/YaST
|
|||||||
Source1: YaST2-Second-Stage.service
|
Source1: YaST2-Second-Stage.service
|
||||||
Source2: YaST2-Firstboot.service
|
Source2: YaST2-Firstboot.service
|
||||||
|
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
|
||||||
BuildRequires: libxslt
|
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: yast2-core-devel
|
|
||||||
BuildRequires: yast2-devtools >= 3.1.10
|
BuildRequires: yast2-devtools >= 3.1.10
|
||||||
BuildRequires: yast2-packager >= 3.1.113
|
# needed for xml agent reading about products
|
||||||
|
BuildRequires: yast2-xml
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec)
|
||||||
|
BuildRequires: rubygem(yast-rake)
|
||||||
|
|
||||||
# Moved proc_modules.scr
|
# Moved proc_modules.scr
|
||||||
BuildRequires: yast2 >= 3.1.180
|
BuildRequires: yast2 >= 3.1.180
|
||||||
|
|
||||||
# Yast::Remote
|
|
||||||
BuildRequires: yast2-network
|
|
||||||
|
|
||||||
# AutoinstSoftware.SavePackageSelection()
|
# AutoinstSoftware.SavePackageSelection()
|
||||||
Requires: autoyast2-installation >= 3.1.105
|
Requires: autoyast2-installation >= 3.1.105
|
||||||
|
|
||||||
@ -112,7 +108,6 @@ Requires: gzip
|
|||||||
Requires: tar
|
Requires: tar
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: systemd-devel
|
|
||||||
%{systemd_requires}
|
%{systemd_requires}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -145,17 +140,27 @@ System installation code as present on installation media.
|
|||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{version}
|
%setup -n %{name}-%{version}
|
||||||
|
|
||||||
|
%check
|
||||||
|
rake test:unit
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%yast_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%yast_install
|
rake install DESTDIR="%{buildroot}"
|
||||||
|
|
||||||
for f in `find %{buildroot}%{_datadir}/autoinstall/modules -name "*.desktop"`; do
|
for f in `find %{buildroot}%{_datadir}/autoinstall/modules -name "*.desktop"`; do
|
||||||
%suse_update_desktop_file $f
|
%suse_update_desktop_file $f
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{yast_vardir}/hooks/installation
|
mkdir -p %{buildroot}%{yast_vardir}/hooks/installation
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/preFirstCall
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/preSecondCall
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/postFirstCall
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/postSecondCall
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/preFirstStage
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/preSecondStage
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/postFirstStage
|
||||||
|
mkdir -p %{buildroot}%{yast_ystartupdir}/startup/hooks/postSecondStage
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
|
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
|
||||||
@ -228,6 +233,8 @@ systemctl enable YaST2-Firstboot.service
|
|||||||
%dir %{yast_vardir}/hooks/installation
|
%dir %{yast_vardir}/hooks/installation
|
||||||
|
|
||||||
%dir %{yast_docdir}
|
%dir %{yast_docdir}
|
||||||
%{yast_docdir}/COPYING
|
%doc %{yast_docdir}/COPYING
|
||||||
|
%doc %{yast_docdir}/README.md
|
||||||
|
%doc %{yast_docdir}/CONTRIBUTING.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user