packages: lsb-release/lsb-release.spec - identity ac and th, block ti
glen
glen at pld-linux.org
Mon May 24 16:34:21 CEST 2010
Author: glen Date: Mon May 24 14:34:21 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- identity ac and th, block ti
---- Files affected:
packages/lsb-release:
lsb-release.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/lsb-release/lsb-release.spec
diff -u packages/lsb-release/lsb-release.spec:1.6 packages/lsb-release/lsb-release.spec:1.7
--- packages/lsb-release/lsb-release.spec:1.6 Sat Jan 16 14:09:56 2010
+++ packages/lsb-release/lsb-release.spec Mon May 24 16:34:15 2010
@@ -12,6 +12,7 @@
Patch0: %{name}-make.patch
URL: http://www.linuxbase.org/
BuildRequires: help2man
+BuildRequires: rpm >= 4.4.9-56
BuildRequires: util-linux
Requires: util-linux
ExclusiveArch: %{ix86} ia64 %{x8664} ppc ppc64 s390 s390x
@@ -74,10 +75,19 @@
cat > $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release << 'EOF'
LSB_VERSION=lsb-%{version}-%{archname}:lsb-%{version}-noarch
DISTRIB_ID=PLD
+DISTRIB_DESCRIPTION="PLD Linux"
+%if "%{pld_release}" == "ac"
+DISTRIB_RELEASE=2.0
+DISTRIB_CODENAME=Ac
+%endif
+%if "%{pld_release}" == "th"
DISTRIB_RELEASE=3.0
DISTRIB_CODENAME=Th
-DISTRIB_DESCRIPTION="PLD Linux"
+%endif
EOF
+%if "%{pld_release}" == "ti"
+exit 1
+%endif
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/core-%{version}-%{archname}
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/core-%{version}-noarch
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/graphics-%{version}-%{archname}
@@ -99,6 +109,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2010/05/24 14:34:15 glen
+- identity ac and th, block ti
+
Revision 1.6 2010/01/16 13:09:56 sparky
- BR/R: util-linux (for getopt)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lsb-release/lsb-release.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list