distro-release 23.03-2 (aarch64;znver1;x86_64) 2023-17382
-9999

Status rejected
Submitter tpgxyz [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/297399
Packages
distro-release-23.03-2.aarch64.source
distro-release-common-23.03-2.aarch64.binary
distro-release-desktop-2:23.03-2.aarch64.binary
distro-release-desktop-Plasma-23.03-2.aarch64.binary
distro-release-indexhtml-23.03-2.aarch64.binary
distro-release-installer-23.03-2.aarch64.binary
distro-release-OpenMandriva-23.03-2.aarch64.binary
distro-release-repos-23.03-2.aarch64.binary
distro-release-repos-keys-23.03-2.aarch64.binary
distro-release-repos-pkgprefs-23.03-2.aarch64.binary
distro-release-rpm-setup-23.03-2.aarch64.binary
distro-release-rpm-setup-build-23.03-2.aarch64.binary
distro-release-rpmlint-policy-23.03-2.aarch64.binary
distro-release-theme-23.03-2.aarch64.binary
distro-release-23.03-2.znver1.source
distro-release-common-23.03-2.znver1.binary
distro-release-desktop-2:23.03-2.znver1.binary
distro-release-desktop-Plasma-23.03-2.znver1.binary
distro-release-indexhtml-23.03-2.znver1.binary
distro-release-installer-23.03-2.znver1.binary
distro-release-OpenMandriva-23.03-2.znver1.binary
distro-release-repos-23.03-2.znver1.binary
distro-release-repos-keys-23.03-2.znver1.binary
distro-release-repos-pkgprefs-23.03-2.znver1.binary
distro-release-rpm-setup-23.03-2.znver1.binary
distro-release-rpm-setup-build-23.03-2.znver1.binary
distro-release-rpmlint-policy-23.03-2.znver1.binary
distro-release-theme-23.03-2.znver1.binary
distro-release-23.03-2.x86_64.source
distro-release-common-23.03-2.x86_64.binary
distro-release-desktop-2:23.03-2.x86_64.binary
distro-release-desktop-Plasma-23.03-2.x86_64.binary
distro-release-indexhtml-23.03-2.x86_64.binary
distro-release-installer-23.03-2.x86_64.binary
distro-release-OpenMandriva-23.03-2.x86_64.binary
distro-release-repos-23.03-2.x86_64.binary
distro-release-repos-keys-23.03-2.x86_64.binary
distro-release-repos-pkgprefs-23.03-2.x86_64.binary
distro-release-rpm-setup-23.03-2.x86_64.binary
distro-release-rpm-setup-build-23.03-2.x86_64.binary
distro-release-rpmlint-policy-23.03-2.x86_64.binary
distro-release-theme-23.03-2.x86_64.binary
Build Date 2023-03-31 15:06:07 +0000 UTC
Last Updated 2023-04-02 01:49:26.421431908 +0000 UTC
$ git diff --patch-with-stat --summary ec41a3d695c40ad89cbd99e9016e5e6040785a51..7efcb762108c2d1630e096b8296323560daa09e7

 distro-release.spec | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/distro-release.spec b/distro-release.spec
index 37ed101..6cdeaf6 100644
--- a/distro-release.spec
+++ b/distro-release.spec
@@ -76,7 +76,7 @@ Version:	23.03
 # 3001 = 3.1
 # 3001 = 3.2 etc.
 DistTag:	%{shorttag}%{distro_tag}
-Release:	1
+Release:	2
 License:	GPLv2+
 URL:		https://github.com/OpenMandrivaSoftware/distro-release
 Source0:	https://github.com/OpenMandrivaSoftware/distro-release/archive/%{?am_i_cooker:refs/heads/master}%{!?am_i_cooker:%{version}/%{name}-%{version}}.tar.gz
@@ -544,6 +544,40 @@ ln -s version.%{vendor_tag} %{buildroot}%{_sysconfdir}/version
 mkdir -p %{buildroot}%{_datadir}/common-licenses/*
 cp -a common-licenses %{buildroot}%{_datadir}/
 
+# (tpg) generate XML for appstream
+mkdir -p %{buildroot}%{_datadir}/metainfo
+cat >%{buildroot}%{_datadir}/metainfo/org.openmandriva.openmandriva.metainfo.xml <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="operating-system">
+  <id>org.openmandriva.openmandriva</id>
+  <name>%{new_distribution}</name>
+  <summary>A community driven Linux distribution</summary>
+  <description>
+    <p>The OpenMandriva distribution is a full-featured Linux desktop and server, sponsored by the OpenMandriva Association.</p>
+  </description>
+  <url type="homepage">%{new_disturl}</url>
+  <metadata_license>GPL</metadata_license>
+  <developer_name>OpenMandriva Association</developer_name>
+  <releases>
+    <release version="cooker" type="development" date="" date_eol="">
+      <description>
+        <p>Development release</p>
+      </description>
+    </release>
+    <release version="rolling" type="stable" date="" date_eol="">
+      <description>
+        <p>Rolling release</p>
+      </description>
+    </release>
+    <release version="rock" type="stable" date="2023-01-01" date_eol="">
+      <description>
+        <p>Rock release</p>
+      </description>
+    </release>
+  </releases>
+</component>
+EOF
+
 ### DESKTOP ###
 
 ## Install backgrounds
@@ -1052,6 +1086,7 @@ sed -i -e "s/#PRODUCT_ID/$(cat /etc/product.id)/" -e "s/#LANG/${LC_NAME/[-_]*}/g
 %{_sysconfdir}/profile.d/10distro-release.csh
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/system
 %{_datadir}/common-licenses
+%{_datadir}/metainfo/org.openmandriva.openmandriva.metainfo.xml
 
 %files desktop
 %{_bindir}/*
Not Available

benbullard79 [@T] cox.netNo Comment.391d 00hrs
benbullard79 [@T] cox.netNo Comment.390d 23hrs