SPECS: yum-utils.spec - created yum-pld-kernel plugin

glen glen at pld-linux.org
Sat Apr 26 04:11:06 CEST 2008


Author: glen                         Date: Sat Apr 26 02:11:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- created yum-pld-kernel plugin

---- Files affected:
SPECS:
   yum-utils.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/yum-utils.spec
diff -u SPECS/yum-utils.spec:1.3 SPECS/yum-utils.spec:1.4
--- SPECS/yum-utils.spec:1.3	Sat Apr 26 03:34:30 2008
+++ SPECS/yum-utils.spec	Sat Apr 26 04:11:01 2008
@@ -3,11 +3,13 @@
 Summary(pl.UTF-8):	Zestaw narzędzi związanych z yumem
 Name:		yum-utils
 Version:	1.1.13
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications/System
 Source0:	http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
 # Source0-md5:	29eedb17fd40b158c129c84dc865d889
+Source1:	yum-plugin-pld-kernel.py
+Source2:	yum-plugin-pld-kernel.conf
 URL:		http://linux.duke.edu/yum/download/yum-utils/
 BuildRequires:	gettext-devel
 BuildRequires:	rpm-pythonprov
@@ -122,6 +124,14 @@
 This plugin adds a --skip-broken to yum to make it possible to check
 packages for dependency problems and skip the one with problems.
 
+%package -n yum-pld-kernel
+Summary:	Yum plugin to handle pld kernel installs
+Group:		Base
+Requires:	yum >= 3.0
+
+%description -n yum-pld-kernel
+This plugin handle installation of pld kernels
+
 %package -n yum-priorities
 Summary:	plugin to give priorities to packages from different repos
 Group:		Base
@@ -275,8 +285,11 @@
 cd plugins
 for plug in $plugins; do
 	install -m 644 $plug/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
-install $plug/*.py $RPM_BUILD_ROOT%{_datadir}/yum-plugins
+	install $plug/*.py $RPM_BUILD_ROOT%{_datadir}/yum-plugins
 done
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/yum-plugins/pld-kernel.py
+cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf
+
 install aliases/aliases $RPM_BUILD_ROOT%{_sysconfdir}/yum/aliases.conf
 install versionlock/versionlock.list $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
 
@@ -375,6 +388,11 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/skip-broken.conf
 %{_datadir}/yum-plugins/skip-broken.*
 
+%files -n yum-pld-kernel
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf
+%{_datadir}/yum-plugins/pld-kernel.*
+
 %files -n yum-priorities
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/priorities.conf
@@ -446,6 +464,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008-04-26 02:11:01  glen
+- created yum-pld-kernel plugin
+
 Revision 1.3  2008-04-26 01:34:30  glen
 - update to 1.1.13, subpkgs for plugins
 
================================================================

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



More information about the pld-cvs-commit mailing list