File sle-module-public-cloud-SP1-migration.spec of Package 000release-packages

# 

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

%description
Product to migrate to sle-module-public-cloud Service Pack 1.



%prep

%build


%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/sle-module-public-cloud-SP1-migration.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>sle-module-public-cloud-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-module-public-cloud-sp1-migration:15</cpeid>
  <productline>sle-module-public-cloud</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-Public-Cloud:15:x86_64/update" />
%endif
%ifarch s390x
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:s390x/update" />
%endif
%ifarch ppc64le
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:ppc64le/update" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:aarch64/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:x86_64/update_debug" />
%endif
%ifarch s390x
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:s390x/update_debug" />
%endif
%ifarch ppc64le
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:ppc64le/update_debug" />
%endif
%ifarch aarch64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Public-Cloud:15:aarch64/update_debug" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:x86_64/images" />
%endif
%ifarch s390x
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:s390x/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:ppc64le/images" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:aarch64/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:x86_64/images" />
%endif
%ifarch s390x
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:s390x/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:ppc64le/images" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:aarch64/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:x86_64/images" />
%endif
%ifarch s390x
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:s390x/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:ppc64le/images" />
%endif
%ifarch aarch64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Public-Cloud:15:aarch64/images" />
%endif
  </repositories>
  <summary>sle-module-public-cloud Service Pack 1 Migration Product</summary>
  <shortsummary>sle-module-public-cloud Service Pack 1 Migration Product</shortsummary>
  <description>&lt;p&gt;
	The Public Cloud Module is a collection of tools that enables you to
	create and manage cloud images from the commandline on SUSE Linux
	Enterprise Server. When building your own images with KIWI or SUSE
	Studio, initialization code specific to the target cloud is included in
	that image.
	&lt;/p&gt;
	&lt;p&gt;
	Access to the Public Cloud Module is included in your SUSE Linux
	Enterprise Server subscription. The module has a different lifecycle
	than SUSE Linux Enterprise Server itself; please check the Release
	Notes for further details.
	&lt;/p&gt;</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="0" flag="GE"/>
  <productdependency relationship="conflicts" name="SLED" baseversion="15" patchlevel="0" flag="GE"/>
  <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