From 333fb19977c7736808ddcc9763207037f79ebd6a Mon Sep 17 00:00:00 2001 From: Ondřej Vašík Date: Jul 09 2015 12:48:39 +0000 Subject: automatically determine OS name at build time (#1195396) --- diff --git a/basesystem.spec b/basesystem.spec index 64cab0d..d757367 100644 --- a/basesystem.spec +++ b/basesystem.spec @@ -1,16 +1,17 @@ -Summary: The skeleton package which defines a simple Fedora system +%global distroname %(source /etc/os-release; echo ${REDHAT_SUPPORT_PRODUCT}) + +Summary: The skeleton package which defines a simple %{distroname} system Name: basesystem -Version: 10.0 -Release: 11%{?dist} +Version: 11 +Release: 1%{?dist} License: Public Domain Group: System Environment/Base Requires(pre): setup filesystem -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch %description -Basesystem defines the components of a basic Fedora system (for -example, the package installation order to use during bootstrapping). +Basesystem defines the components of a basic %{distroname} system +(for example, the package installation order to use during bootstrapping). Basesystem should be in every installation of a system, and it should never be removed. @@ -26,6 +27,9 @@ should never be removed. %defattr(-,root,root,-) %changelog +* Thu Jul 09 2015 Ondrej Vasik 11-1 +- automatically determine OS name at build time (#1195396) + * Wed Jun 17 2015 Fedora Release Engineering - 10.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild