File sle-ha-SP1-migration.spec of Package 000release-packages

# 

Name:           sle-ha-SP1-migration
Summary:        sle-ha Service Pack 1 Migration Product
Version:        15
Release:        0
License:        BSD-3-Clause
Group:          System/Fhs
Provides:       product()
Provides:       product(sle-ha-SP1-migration) = %{version}-%{release}
Requires:       product(sle-ha) = 15
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Product to migrate to sle-ha Service Pack 1.



%prep

%build


%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/sle-ha-SP1-migration.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>sle-ha-SP1-migration</name>
  <version>15</version>
  <baseversion>15</baseversion>
  <patchlevel>0</patchlevel>
  <release>0</release>
  <endoflife></endoflife>
  <arch>%{_target_cpu}</arch>
  <cpeid>cpe:/o:suse:sle-ha-sp1-migration:15</cpeid>
  <productline>sle-ha</productline>
  <codestream>
    <name>SUSE Linux Enterprise High Availability Extension 15</name>
    <endoflife>2028-07-31</endoflife>
  </codestream>
  <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>extension</flavor>
  </register>
  <repositories>
%ifarch s390x
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:s390x/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:x86_64/update" />
%endif
%ifarch ppc64le
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:ppc64le/update" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:aarch64/update" />
%endif
%ifarch s390x
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:s390x/update_debug" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:x86_64/update_debug" />
%endif
%ifarch ppc64le
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:ppc64le/update_debug" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Product-HA:15:aarch64/update_debug" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:x86_64/images" />
%endif
%ifarch s390x
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:s390x/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:ppc64le/images" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:aarch64/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:x86_64/images" />
%endif
%ifarch s390x
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:s390x/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:ppc64le/images" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:aarch64/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:x86_64/images" />
%endif
%ifarch s390x
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:s390x/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:ppc64le/images" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Product-HA:15:aarch64/images" />
%endif
  </repositories>
  <summary>sle-ha Service Pack 1 Migration Product</summary>
  <shortsummary>sle-ha Service Pack 1 Migration Product</shortsummary>
  <description>SUSE Linux High Availability Extension
          provides mature, industry-leading open-source
          high-availability clustering technologies that
          are easy to set up and use. It can be deployed
          in physical and/or virtual environments, and
          can cluster physical servers, virtual servers,
          or any combination of the two to suit your
          business’ needs.</description>
  <linguas>
    <language>cs</language>
    <language>da</language>
    <language>de</language>
    <language>en</language>
    <language>en_GB</language>
    <language>en_US</language>
    <language>es</language>
    <language>fi</language>
    <language>fr</language>
    <language>hu</language>
    <language>it</language>
    <language>ja</language>
    <language>nb</language>
    <language>nl</language>
    <language>pl</language>
    <language>pt</language>
    <language>pt_BR</language>
    <language>ru</language>
    <language>sv</language>
    <language>zh</language>
    <language>zh_CN</language>
    <language>zh_TW</language>
  </linguas>
  <urls>
    <url name="releasenotes">https://www.suse.com/releasenotes/%{_target_cpu}/SLE-HA/15/release-notes-ha.rpm</url>
    <url name="releasenotes">https://www.suse.com/releasenotes/%{_target_cpu}/SUSE-SLES/15/release-notes-sles.rpm</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="0" flag="EQ"/>
  <productdependency relationship="requires" name="sle-module-server-applications" baseversion="15" patchlevel="0" flag="GE"/>
</product>

EOF


%clean
rm -rf %buildroot

%files
%defattr(644,root,root,755)
%dir /etc/products.d
/etc/products.d/*.prod

%changelog
openSUSE Build Service is sponsored by