File sle-module-transactional-server-SP2-migration.spec of Package 000release-packages
#
Name: sle-module-transactional-server-SP2-migration
Summary: sle-module-transactional-server Service Pack 2 Migration Product
Version: 15.1
Release: 0
License: BSD-3-Clause
Group: System/Fhs
Provides: product()
Provides: product(sle-module-transactional-server-SP2-migration) = %{version}-%{release}
Requires: product(sle-module-transactional-server) = 15.1
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Product to migrate to sle-module-transactional-server Service Pack 2.
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/sle-module-transactional-server-SP2-migration.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
<vendor>SUSE</vendor>
<name>sle-module-transactional-server-SP2-migration</name>
<version>15.1</version>
<baseversion>15</baseversion>
<patchlevel>1</patchlevel>
<release>0</release>
<endoflife>2022-07-31</endoflife>
<arch>%{_target_cpu}</arch>
<cpeid>cpe:/o:suse:sle-module-transactional-server-sp2-migration:15:sp1</cpeid>
<productline>sle-module-transactional-server</productline>
<register>
%ifarch x86_64
<target>sle-15-x86_64</target>
%endif
%ifarch s390x
<target>sle-15-s390x</target>
%endif
%ifarch ppc64le
<target>sle-15-ppc64le</target>
%endif
%ifarch aarch64
<target>sle-15-aarch64</target>
%endif
<flavor>module</flavor>
</register>
<repositories>
%ifarch x86_64
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:x86_64/update" />
%endif
%ifarch s390x
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:s390x/update" />
%endif
%ifarch ppc64le
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:ppc64le/update" />
%endif
%ifarch aarch64
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:aarch64/update" />
%endif
%ifarch x86_64
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:x86_64/update_debug" />
%endif
%ifarch s390x
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:s390x/update_debug" />
%endif
%ifarch ppc64le
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:ppc64le/update_debug" />
%endif
%ifarch aarch64
<repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Transactional-Server:15-SP1:aarch64/update_debug" />
%endif
%ifarch x86_64
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:x86_64/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch s390x
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:s390x/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch ppc64le
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:ppc64le/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch aarch64
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:aarch64/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch x86_64
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:x86_64/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch s390x
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:s390x/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch ppc64le
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:ppc64le/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch aarch64
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:aarch64/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch x86_64
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:x86_64/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch s390x
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:s390x/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch ppc64le
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:ppc64le/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
%ifarch aarch64
<repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-Transactional-Server:15-SP1:aarch64/sle-module-transactional-server-SP2-migration/15.1/%{_target_cpu}" />
%endif
</repositories>
<summary>sle-module-transactional-server Service Pack 2 Migration Product</summary>
<shortsummary>sle-module-transactional-server Service Pack 2 Migration Product</shortsummary>
<description><p>
Transactional Updates provide SUSE Linux Enterprise systems with a
method of updating the operating system and its packages in an entirely
‘atomic’ way. Updates are either applied to the system all together in
a single transaction, or not at all. This happens without influencing
the running system. If an update fails, or if the successful update is
deemed to be incompatible or otherwise incorrect, it can be discarded
to immediately return the system to its previous functioning state.
</p>
<p>
Access to theTransactional Server Module is included in your SUSE
Linux Enterprise Server subscription. The module has a different
lifecycle than SUSE Linux Enterprise Server itself: Package versions in
the this module are usually supported for at most three years. We are
planning to release more recent versions on a schedule of approximately
18 month; the exact dates may differ per package.
</p></description>
<urls>
<url name="bugtracker">https://bugzilla.suse.com/</url>
</urls>
<buildconfig>
<producttheme>SLES</producttheme>
</buildconfig>
<installconfig>
<defaultlang>en_US</defaultlang>
<releasepackage name="%{name}" flag="EQ" version="%{version}" release="%{release}"/>
<distribution>SUSE_SLE</distribution>
</installconfig>
<runtimeconfig/>
<productdependency relationship="requires" name="SUSE_SLE" baseversion="15" patchlevel="1" flag="GE"/>
<productdependency relationship="requires" name="sle-module-basesystem" baseversion="15" patchlevel="1" flag="GE"/>
</product>
EOF
%clean
rm -rf %buildroot
%files
%defattr(644,root,root,755)
%dir /etc/products.d
/etc/products.d/*.prod
%changelog