distro-release 23.08-3 (aarch64) 2023-17542
9999

Status published
Submitter rugyada [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/356813
Packages
distro-release-23.08-3.aarch64.source
distro-release-common-23.08-3.aarch64.binary
distro-release-desktop-2:23.08-3.aarch64.binary
distro-release-desktop-Plasma-23.08-3.aarch64.binary
distro-release-indexhtml-23.08-3.aarch64.binary
distro-release-installer-23.08-3.aarch64.binary
distro-release-OpenMandriva-23.08-3.aarch64.binary
distro-release-repos-23.08-3.aarch64.binary
distro-release-repos-keys-23.08-3.aarch64.binary
distro-release-repos-pkgprefs-23.08-3.aarch64.binary
distro-release-rpm-setup-23.08-3.aarch64.binary
distro-release-rpm-setup-build-23.08-3.aarch64.binary
distro-release-rpmlint-policy-23.08-3.aarch64.binary
distro-release-theme-23.08-3.aarch64.binary
Build Date 2023-08-08 02:07:06 +0000 UTC
Last Updated 2023-08-08 19:12:57.968786585 +0000 UTC
$ git diff --patch-with-stat --summary 1267db2e866311e72c21d4ee1b1e5bc209a6c26c..c449c0aca67645c7831da73c676fefe41b7012be

 distro-release.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/distro-release.spec b/distro-release.spec
index 8dd21d2..3a98ef5 100644
--- a/distro-release.spec
+++ b/distro-release.spec
@@ -48,9 +48,9 @@
 # distro_arch => the distribution we are using
 %define distro_arch %{_target_cpu}
 
-%define major %(printf %u %(echo %{version}|cut -d. -f1))
-%define minor %([ -z "%(echo %{version}|cut -d. -f2)" ] && echo 0 || printf %u %(echo %{version}|cut -d. -f2))
-%define subminor %([ -z "%(echo %{version}|cut -d. -f3)" ] && echo 0 || printf %u %(echo %{version}|cut -d. -f3))
+%define major %(printf %u %(echo %{version}|cut -d. -f1 |sed -e 's,^0*,,'))
+%define minor %([ -z "%(echo %{version}|cut -d. -f2)" ] && echo 0 || printf %u %(echo %{version}|cut -d. -f2 |sed -e 's,^0*,,'))
+%define subminor %([ -z "%(echo %{version}|cut -d. -f3)" ] && echo 0 || printf %u %(echo %{version}|cut -d. -f3 |sed -e 's,^0*,,'))
 %if 0%?am_i_cooker || 0%?am_i_rolling
 # 22.12 looks better as omv2212 than omv22012...
 %define distro_tag %(echo $((%{major}*100+%{minor})))
@@ -76,7 +76,7 @@ Version:	23.08
 # 3001 = 3.1
 # 3001 = 3.2 etc.
 DistTag:	%{shorttag}%{distro_tag}
-Release:	1
+Release:	3
 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
Not Available

benbullard79 [@T] cox.netNo Comment.268d 06hrs
benbullard79 [@T] cox.netNo Comment.268d 06hrs