SPECS: yum.spec - repo config for Titanium

hawk hawk at pld-linux.org
Thu Mar 19 12:39:23 CET 2009


Author: hawk                         Date: Thu Mar 19 11:39:23 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- repo config for Titanium

---- Files affected:
SPECS:
   yum.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/yum.spec
diff -u SPECS/yum.spec:1.70 SPECS/yum.spec:1.71
--- SPECS/yum.spec:1.70	Sat Jan 17 21:58:04 2009
+++ SPECS/yum.spec	Thu Mar 19 12:39:18 2009
@@ -9,8 +9,9 @@
 Source0:	http://yum.baseurl.org/download/3.2/%{name}-%{version}.tar.gz
 # Source0-md5:	2c9ff2e3c329e5cd0ce335d05bf96b7b
 Source1:	%{name}-pld-source.repo
-Source2:	%{name}-updatesd.init
-Source3:	%{name}-updatesd.sysconfig
+Source2:	%{name}-pld-ti-source.repo
+Source3:	%{name}-updatesd.init
+Source4:	%{name}-updatesd.sysconfig
 Patch1:		%{name}-obsoletes.patch
 # from util-vserver-*/contrib/
 Patch2:		%{name}-chroot.patch
@@ -74,9 +75,14 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	PYLIBDIR=%{py_sitescriptdir}/..
+
+%if "%{pld_release}" == "ti"
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum/repos.d/pld.repo
+%else
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum/repos.d/pld.repo
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/yum-updatesd
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
+%endif
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/yum-updatesd
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
 
 %py_postclean
 
@@ -148,6 +154,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2009/03/19 11:39:18  hawk
+- repo config for Titanium
+
 Revision 1.70  2009/01/17 20:58:04  patrys
 - 3.2.21
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yum.spec?r1=1.70&r2=1.71&f=u



More information about the pld-cvs-commit mailing list