Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
suse-migration-services
suse-migration-services.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-migration-services.spec of Package suse-migration-services
# # spec file for package suse-migration-services # # Copyright (c) 2018 SUSE LINUX 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/ # Name: suse-migration-services Version: 2.0.40 Release: 0 Url: https://github.com/SUSE/suse-migration-services Summary: SUSE Distribution Migration Services License: GPL-3.0+ Group: System/Management Source: suse-migration-services.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Conflicts: suse-migration-sle15-activation BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: systemd-rpm-macros Requires: suse-migration-pre-checks Requires: python3-Cerberus Requires: python3-PyYAML Requires: python3-setuptools Requires: util-linux Requires: kexec-tools Requires: ca-certificates Requires: dialog Requires: rsync Requires: suseconnect-ng Requires(preun): systemd Requires(postun): systemd BuildArch: noarch %description Systemd services to prepare and run a distribution migration process. %package -n suse-migration-pre-checks Summary: The pre-checks code used with suse-migration-services Group: System/Management Requires: python3-Cerberus Requires: python3-PyYAML Conflicts: suse-migration-sle15-activation < 2.0.33 %description -n suse-migration-pre-checks Checks to be performed before starting a distribution migration process %prep %setup -q -n suse_migration_services-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} install -D -m 755 tools/run_migration \ %{buildroot}%{_sbindir}/run_migration install -D -m 644 systemd/suse-migration-mount-system.service \ %{buildroot}%{_unitdir}/suse-migration-mount-system.service install -D -m 644 systemd/suse-migration-pre-checks.service \ %{buildroot}%{_unitdir}/suse-migration-pre-checks.service install -D -m 644 systemd/suse-migration-post-mount-system.service \ %{buildroot}%{_unitdir}/suse-migration-post-mount-system.service install -D -m 644 systemd/suse-migration-setup-host-network.service \ %{buildroot}%{_unitdir}/suse-migration-setup-host-network.service install -D -m 644 systemd/suse-migration-prepare.service \ %{buildroot}%{_unitdir}/suse-migration-prepare.service install -D -m 644 systemd/suse-migration.service \ %{buildroot}%{_unitdir}/suse-migration.service install -D -m 644 systemd/suse-migration-grub-setup.service \ %{buildroot}%{_unitdir}/suse-migration-grub-setup.service install -D -m 644 systemd/suse-migration-update-bootloader.service \ %{buildroot}%{_unitdir}/suse-migration-update-bootloader.service install -D -m 644 systemd/suse-migration-product-setup.service \ %{buildroot}%{_unitdir}/suse-migration-product-setup.service install -D -m 644 systemd/suse-migration-regenerate-initrd.service \ %{buildroot}%{_unitdir}/suse-migration-regenerate-initrd.service install -D -m 644 systemd/suse-migration-kernel-load.service \ %{buildroot}%{_unitdir}/suse-migration-kernel-load.service install -D -m 644 systemd/suse-migration-reboot.service \ %{buildroot}%{_unitdir}/suse-migration-reboot.service install -D -m 644 systemd/suse-migration-ssh-keys.service \ %{buildroot}%{_unitdir}/suse-migration-ssh-keys.service install -D -m 644 systemd/suse-migration-console-log.service \ %{buildroot}%{_unitdir}/suse-migration-console-log.service # preun / postun # While the package provides services all services are one-shot. # Additionally this services runs as part of a live ISO migration # system which is used and booted only once. It's contents are # packed into a readonly squashfs layer. Therefore there is no # need for use of the "standard" systemd service handling macros. %files %defattr(-,root,root,-) %{python3_sitelib}/suse_migration_services/suse_connect.py %{python3_sitelib}/suse_migration_services/units %{python3_sitelib}/suse_migration_services/__pycache__/migration_config.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/path.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/schema.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/suse_connect.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/suse_product.cpython-*.pyc %{_sbindir}/run_migration %{_bindir}/suse-migration-ssh-keys %{_unitdir}/suse-migration-ssh-keys.service %{_bindir}/suse-migration-mount-system %{_unitdir}/suse-migration-mount-system.service # The %{_bindir}/suse-migration-pre-checks is # installed from the suse-migration-pre-checks package %{_unitdir}/suse-migration-pre-checks.service %{_bindir}/suse-migration-post-mount-system %{_unitdir}/suse-migration-post-mount-system.service %{_bindir}/suse-migration-setup-host-network %{_unitdir}/suse-migration-setup-host-network.service %{_bindir}/suse-migration-prepare %{_unitdir}/suse-migration-prepare.service %{_bindir}/suse-migration %{_unitdir}/suse-migration.service %{_unitdir}/suse-migration-console-log.service %{_bindir}/suse-migration-grub-setup %{_unitdir}/suse-migration-grub-setup.service %{_bindir}/suse-migration-update-bootloader %{_unitdir}/suse-migration-update-bootloader.service %{_bindir}/suse-migration-product-setup %{_unitdir}/suse-migration-product-setup.service %{_bindir}/suse-migration-regenerate-initrd %{_unitdir}/suse-migration-regenerate-initrd.service %{_bindir}/suse-migration-kernel-load %{_unitdir}/suse-migration-kernel-load.service %{_bindir}/suse-migration-reboot %{_unitdir}/suse-migration-reboot.service %files -n suse-migration-pre-checks %defattr(-,root,root,-) %{python3_sitelib}/suse_migration_services/command.py %{python3_sitelib}/suse_migration_services/defaults.py %{python3_sitelib}/suse_migration_services/exceptions.py %{python3_sitelib}/suse_migration_services/fstab.py %{python3_sitelib}/suse_migration_services/logger.py %{python3_sitelib}/suse_migration_services/migration_config.py %{python3_sitelib}/suse_migration_services/path.py %{python3_sitelib}/suse_migration_services/schema.py %{python3_sitelib}/suse_migration_services/suse_product.py %{python3_sitelib}/suse_migration_services/version.py %{python3_sitelib}/suse_migration_services/__init__.py %{python3_sitelib}/suse_migration_services/prechecks %{_bindir}/suse-migration-pre-checks %{python3_sitelib}/suse_migration_services-* %{python3_sitelib}/suse_migration_services/__pycache__/__init__.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/command.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/defaults.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/exceptions.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/fstab.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/logger.cpython-*.pyc %{python3_sitelib}/suse_migration_services/__pycache__/version.cpython-*.pyc %{python3_sitelib}/suse_migration_services-*/ %dir %{python3_sitelib}/suse_migration_services %dir %{python3_sitelib}/suse_migration_services/__pycache__ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor