File sle-module-live-patching-SP1-migration.spec of Package 000release-packages

# 

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

%description
Product to migrate to sle-module-live-patching Service Pack 1.



%prep

%build


%install
mkdir -p $RPM_BUILD_ROOT/etc/products.d
cat >$RPM_BUILD_ROOT/etc/products.d/sle-module-live-patching-SP1-migration.prod << EOF
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
  <vendor>SUSE</vendor>
  <name>sle-module-live-patching-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-live-patching-sp1-migration:15</cpeid>
  <productline>sle-module-live-patching</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
    <flavor>module</flavor>
  </register>
  <repositories>
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Live-Patching:15:x86_64/update" />
%endif
%ifarch ppc64le
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Live-Patching:15:ppc64le/update" />
%endif
%ifarch x86_64
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Live-Patching:15:x86_64/update_debug" />
%endif
%ifarch ppc64le
      <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-Live-Patching:15:ppc64le/update_debug" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Live-Patching:15:x86_64/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Live-Patching:15:ppc64le/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Live-Patching:15:x86_64/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Live-Patching:15:ppc64le/images" />
%endif
%ifarch x86_64
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Live-Patching:15:x86_64/images" />
%endif
%ifarch ppc64le
      <repository type="pool" repoid="obsrepository://build.suse.de/SUSE:Products:SLE-Module-Live-Patching:15:ppc64le/images" />
%endif
  </repositories>
  <summary>sle-module-live-patching Service Pack 1 Migration Product</summary>
  <shortsummary>sle-module-live-patching Service Pack 1 Migration Product</shortsummary>
  <description>&lt;p&gt;
SUSE Linux Enterprise Live Patching provides packages to update critical
components in SUSE Linux Enterprise.  With SUSE Linux Enterprise Live
Patching, you can perform critical patching without shutting down your
system, reducing the need for planned downtime and increasing service
availability.
	&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="EQ"/>
</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