import initial-setup-0.3.81.6-1.el8

This commit is contained in:
CentOS Sources 2020-11-03 07:04:34 -05:00 committed by Andrew Lukoshko
parent b513afef74
commit 4d54c55e22
3 changed files with 116 additions and 67 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/initial-setup-0.3.62.1.tar.gz
SOURCES/initial-setup-0.3.81.6.tar.gz

View File

@ -1 +1 @@
1da52ef19fe287bdf4abe9bed681069cae3ad0d9 SOURCES/initial-setup-0.3.62.1.tar.gz
85c539a531f7702d6e7ddacb8f0c5100c1d86313 SOURCES/initial-setup-0.3.81.6.tar.gz

View File

@ -1,7 +1,7 @@
Summary: Initial system configuration utility
Name: initial-setup
URL: https://fedoraproject.org/wiki/InitialSetup
Version: 0.3.62.1
Version: 0.3.81.6
Release: 1%{?dist}
# This is a Red Hat maintained package which is specific to
@ -13,10 +13,9 @@ Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
%define debug_package %{nil}
%define anacondaver 29.13
%define anacondaver 33.16.3.1-1
License: GPLv2+
Group: System Environment/Base
BuildRequires: gettext
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -33,7 +32,6 @@ Requires: systemd >= 235
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: libreport-python3
Requires: util-linux
Conflicts: firstboot < 19.2
@ -50,12 +48,17 @@ Requires: xorg-x11-xinit
Requires: xorg-x11-server-Xorg
Requires: %{name} = %{version}-%{release}
# native i686 installations are not supported on RHEL8 and Initial Setup
# is not a i686 compatibility library, so building it for i686 does not
# make sense
ExcludeArch: i686
%description gui
The initial-setup-gui package contains a graphical user interface for the
initial-setup utility.
%prep
%setup -q
%autosetup -p 1
# remove upstream egg-info
rm -rf *.egg-info
@ -75,33 +78,6 @@ make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%pre
# There is a possibility that an initial setup service might be running
# during package upgrade, which can together with an old version
# of initial setup (<= 0.3.36) cause the rpm transaction to deadlock.
# So turn of and disable any Initial Setup services if the pre
# scriptlet is running during upgrade or package removal to prevent
# the deadlock.
# upgrade or package removal only
if [ $1 -gt 1 ] ; then
IS_GRAPHICAL="initial-setup-graphical.service"
IS_TEXT="initial-setup-text.service"
IS_GRAPHICAL_AVAILABLE=0
IS_TEXT_AVAILABLE=0
# check if the Initial Setup unit is enabled and the executable is available
systemctl is-enabled $IS_GRAPHICAL && IS_GRAPHICAL_AVAILABLE=1
systemctl is-enabled $IS_TEXT && IS_TEXT_AVAILABLE=1
if [ $IS_GRAPHICAL_AVAILABLE -eq 1 ]; then
systemctl stop $IS_GRAPHICAL
systemctl disable $IS_GRAPHICAL
fi
if [ $IS_TEXT_AVAILABLE -eq 1 ]; then
systemctl stop $IS_TEXT
systemctl disable $IS_TEXT
fi
fi
%post
%systemd_post initial-setup.service
@ -111,33 +87,6 @@ fi
%postun
%systemd_postun initial-setup.service
%pre gui
# There is a possibility that an initial setup service might be running
# during package upgrade, which can together with an old version
# of initial setup (<= 0.3.36) cause the rpm transaction to deadlock.
# So turn off and disable any Initial Setup services if the pre
# scriptlet is running during upgrade or package removal to prevent
# the deadlock.
# upgrade or package removal only
if [ $1 -gt 1 ] ; then
IS_GRAPHICAL="initial-setup-graphical.service"
IS_TEXT="initial-setup-text.service"
IS_GRAPHICAL_AVAILABLE=0
IS_TEXT_AVAILABLE=0
# check if the Initial Setup unit is enabled and the executable is available
systemctl is-enabled $IS_GRAPHICAL && IS_GRAPHICAL_AVAILABLE=1
systemctl is-enabled $IS_TEXT && IS_TEXT_AVAILABLE=1
if [ $IS_GRAPHICAL_AVAILABLE -eq 1 ]; then
systemctl stop $IS_GRAPHICAL
systemctl disable $IS_GRAPHICAL
fi
if [ $IS_TEXT_AVAILABLE -eq 1 ]; then
systemctl stop $IS_TEXT
systemctl disable $IS_TEXT
fi
fi
%files -f %{name}.lang
%doc README.rst
%license COPYING
@ -149,6 +98,9 @@ fi
%{_libexecdir}/%{name}/reconfiguration-mode-enabled
%{_unitdir}/initial-setup.service
%{_unitdir}/initial-setup-reconfiguration.service
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/conf.d
%config %{_sysconfdir}/%{name}/conf.d/*
%ifarch s390 s390x
%{_sysconfdir}/profile.d/initial-setup.sh
@ -160,12 +112,109 @@ fi
%{python3_sitelib}/initial_setup/gui/*
%changelog
* Mon Dec 10 2018 Martin Kolman <mkolman@redhat.com> - 0.3.62.1-1
- Update Zanata config for RHEL8 (mkolman)
Resolves: rhbz#1608303
* Thu Sep 20 2018 Tomas Orsava <torsava@redhat.com> - 0.3.62-2
- Require the Python interpreter directly instead of using the package name
- Related: rhbz#1619153
* Fri Jul 17 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.6-1
- Remove old failing pre scriptlet (mkolman)
* Thu Jun 25 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.5-1
- Disable multi TTY handler when running in SSH session (mkolman)
- Add CLI option to disable multi TTY handler (mkolman)
- Add PEP8 Speaks configuration (mkolman)
- Add missing branch config to manifest file (jkonecny)
- Add translation badge to the README file (jkonecny)
- Remove unused PREFIX variable from Makefile (jkonecny)
- Use new po-push instead of Zanata (jkonecny)
- Add po-push using localization repository (jkonecny)
- Use translation repository to pull the translations (jkonecny)
* Tue May 26 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.4-1
- Do not build Initial Setup on i686 (mkolman)
Related: rhbz#1696277
* Tue May 26 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.3-1
- Fix typo in rebased Anaconda version (mkolman)
Related: rhbz#1696277
* Mon May 25 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.2-1
- Revert "Handle simpleline having an empty stack" (mkolman)
Related: rhbz#1696277
* Mon May 25 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.1-1
- Rebased Initial Setup to upstream version 0.3.81
Resolves: rhbz#1696277
* Fri May 22 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81-1
- Use macro for Python 3 requirement in spec file (mkolman)
- Remove outdated dependency on python3-libreport (vslavik)
- Fix a typo in Zanata CLI invocation (mkolman)
* Tue Dec 10 2019 Martin Kolman <mkolman@redhat.com> - 0.3.80-1
- Do not call a task which has been moved into install keyboard task (rvykydal)
- Adapt to changes in localization module (rvykydal)
- Fix Zanata client detection in Makefile (mkolman)
* Mon Nov 18 2019 Martin Kolman <mkolman@redhat.com> - 0.3.79-1
- Fix import of the DBus launcher (vponcova)
* Tue Nov 12 2019 Martin Kolman <martin.kolman@gmail.com> - 0.3.78-1
- Revert "Fix import of the DBus launcher" (martin.kolman)
- Run the installation tasks of the DBus addons (vponcova)
- Run the installation tasks of the Timezone module (vponcova)
- Fix import of the DBus launcher (vponcova)
* Thu Oct 24 2019 Martin Kolman <mkolman@redhat.com> - 0.3.77-1
- Run the installation tasks of the Localization module (vponcova)
- Use new DBus support for reading a kickstart file (vponcova)
- Use autosetup instead of setup (mkolman)
- Bump Anaconda version due to networking changes (mkolman)
* Fri Oct 04 2019 Martin Kolman <mkolman@redhat.com> - 0.3.76-1
- Fix configuration of network hostname (#1757960) (rvykydal)
* Thu Oct 03 2019 Martin Kolman <mkolman@redhat.com> - 0.3.75-1
- Blacklist some USB consoles from multi-TTY handler (#1755580) (mkolman)
* Wed Sep 18 2019 Martin Kolman <mkolman@redhat.com> - 0.3.74-1
- Fix typo in reconfig mode detection (#1752554) (mkolman)
* Wed Jul 31 2019 Martin Kolman <mkolman@redhat.com> - 0.3.73-1
- Remove system root from DBus calls (vponcova)
- Correct the name for libreport Python3 require (mkutlak)
* Thu Jun 20 2019 Martin Kolman <mkolman@redhat.com> - 0.3.72-1
- Set physical and system roots in the configuration file (vponcova)
- Write Anaconda logs to journal (vponcova)
- Read configuration files from /etc/initial-setup/conf.d (#1713506) (vponcova)
* Thu Jun 13 2019 Martin Kolman <mkolman@redhat.com> - 0.3.71-1
- Don't initialize the screen access manager (vponcova)
* Wed May 15 2019 Martin Kolman <mkolman@redhat.com> - 0.3.70-1
- Adjust to changes in the Users DBus module (mkolman)
* Thu Apr 04 2019 Martin Kolman <mkolman@redhat.com> - 0.3.69-1
- Adapt to removal of ifcfg.log (#1695967) (rvykydal)
* Tue Mar 12 2019 Martin Kolman <mkolman@redhat.com> - 0.3.68-1
- Remove obsolete Group definition from the spec file (mkolman)
- Initialize network module (device configurations) (#1685992) (rvykydal)
- Specify the type of the installation system (#1685992) (vponcova)
* Tue Mar 12 2019 Martin Kolman <mkolman@redhat.com> - 0.3.67-1
- Update arguments of the execute methods (#1666849) (vponcova)
* Mon Jan 21 2019 Martin Kolman <mkolman@redhat.com> - 0.3.66-1
- Don't call initThreading (#1666849) (vponcova)
* Thu Jan 03 2019 Martin Kolman <mkolman@redhat.com> - 0.3.65-1
- Remove install classes from the initial setup (vponcova)
* Mon Nov 19 2018 Martin Kolman <mkolman@redhat.com> - 0.3.64-1
- Handle simpleline having an empty stack (mkolman)
* Mon Nov 05 2018 Martin Kolman <mkolman@redhat.com> - 0.3.63-1
- Disable modules in the configuration file (vponcova)
- Let the DBus launcher to set up the modules (vponcova)
- README.rst: update link to anaconda addon dev guide (kenyon)
* Fri Jul 27 2018 Martin Kolman <mkolman@redhat.com> - 0.3.62-1
- Make EULA spoke name compatible with three column hub (mkolman)