new version
- Split scriptlets for the gui subpackage (mkolman) - Use /usr/bin/python2 in scripts (mkolman)
This commit is contained in:
parent
0688672fab
commit
3284145312
1
.gitignore
vendored
1
.gitignore
vendored
@ -27,3 +27,4 @@
|
|||||||
/initial-setup-0.3.26.tar.gz
|
/initial-setup-0.3.26.tar.gz
|
||||||
/initial-setup-0.3.27.tar.gz
|
/initial-setup-0.3.27.tar.gz
|
||||||
/initial-setup-0.3.28.tar.gz
|
/initial-setup-0.3.28.tar.gz
|
||||||
|
/initial-setup-0.3.29.tar.gz
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Initial system configuration utility
|
Summary: Initial system configuration utility
|
||||||
Name: initial-setup
|
Name: initial-setup
|
||||||
URL: http://fedoraproject.org/wiki/FirstBoot
|
URL: http://fedoraproject.org/wiki/FirstBoot
|
||||||
Version: 0.3.28
|
Version: 0.3.29
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
# This is a Red Hat maintained package which is specific to
|
# This is a Red Hat maintained package which is specific to
|
||||||
@ -78,19 +78,25 @@ if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
|
|||||||
if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
|
if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
|
||||||
echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
|
echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
|
||||||
else
|
else
|
||||||
%systemd_post initial-setup-graphical.service
|
|
||||||
%systemd_post initial-setup-text.service
|
%systemd_post initial-setup-text.service
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun initial-setup-graphical.service
|
|
||||||
%systemd_preun initial-setup-text.service
|
%systemd_preun initial-setup-text.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart initial-setup-graphical.service
|
|
||||||
%systemd_postun_with_restart initial-setup-text.service
|
%systemd_postun_with_restart initial-setup-text.service
|
||||||
|
|
||||||
|
%post gui
|
||||||
|
%systemd_post initial-setup-graphical.service
|
||||||
|
|
||||||
|
%preun gui
|
||||||
|
%systemd_preun initial-setup-graphical.service
|
||||||
|
|
||||||
|
%postun gui
|
||||||
|
%systemd_postun_with_restart initial-setup-graphical.service
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc COPYING README.rst
|
%doc COPYING README.rst
|
||||||
%{python_sitelib}/initial_setup*
|
%{python_sitelib}/initial_setup*
|
||||||
@ -108,23 +114,11 @@ fi
|
|||||||
%{python_sitelib}/initial_setup/gui/*
|
%{python_sitelib}/initial_setup/gui/*
|
||||||
%{_unitdir}/initial-setup-graphical.service
|
%{_unitdir}/initial-setup-graphical.service
|
||||||
|
|
||||||
%post gui
|
|
||||||
if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
|
|
||||||
platform="$(arch)"
|
|
||||||
if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
|
|
||||||
echo "RUN_INITIAL_SETUP=YES" > /etc/sysconfig/initial-setup
|
|
||||||
else
|
|
||||||
%systemd_post initial-setup-graphical.service
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun gui
|
|
||||||
%systemd_preun initial-setup-graphical.service
|
|
||||||
|
|
||||||
%postun gui
|
|
||||||
%systemd_postun_with_restart initial-setup-graphical.service
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 13 2015 Martin Kolman <mkolman@redhat.com> - 0.3.29-1
|
||||||
|
- Split scriptlets for the gui subpackage (mkolman)
|
||||||
|
- Use /usr/bin/python2 in scripts (mkolman)
|
||||||
|
|
||||||
* Thu Feb 05 2015 Martin Kolman <mkolman@redhat.com> - 0.3.28-1
|
* Thu Feb 05 2015 Martin Kolman <mkolman@redhat.com> - 0.3.28-1
|
||||||
- Fix breakage caused by README file rename (mkolman)
|
- Fix breakage caused by README file rename (mkolman)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user