[yum-cvs] 2 commits - .gitignore yum-utils.spec
Tim Lauridsen
timlau at linux.duke.edu
Wed Aug 1 07:42:12 UTC 2007
.gitignore | 8 ++++++++
yum-utils.spec | 24 +++++++++++++++++++++++-
2 files changed, 31 insertions(+), 1 deletion(-)
New commits:
commit 295ec7b162ddb5f91ea55756b23da157741532c2
Author: Tim Lauridsen <tla at rasmil.dk>
Date: Wed Aug 1 09:36:51 2007 +0200
Added .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ef229b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+*.~
+*.bak
+*.pyc
+*.pyo
+.project
+.pydevproject
+*.tar.gz
+
commit cef219e71194a484476f182f781eb00d46594e47
Author: Tim Lauridsen <tla at rasmil.dk>
Date: Wed Aug 1 09:33:19 2007 +0200
Added basearchonly by Adel Gadllah to the spec file
diff --git a/yum-utils.spec b/yum-utils.spec
index acf776d..8d7bcb1 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -175,6 +175,17 @@ automatically protects everything on which yum depends (rpm, python, glibc,
and so on).Therefore, the plugin functions well even without
compiling careful lists of all important packages.
+%package -n yum-basearchonly
+Summary: Yum plugin to let Yum install only basearch packages.
+Group: System Environment/Base
+Requires: yum >= 3.0
+
+%description -n yum-basearchonly
+this plugin makes Yum only install basearch packages on multiarch systems.
+If you type 'yum install foo' on a x68_64 system, only 'foo-x.y.x86_46.rpm' is installed.
+If you want to install the foo-x.y.i386.rpm, you have to type 'yum install foo.i386'.
+The plugin only works with 'yum install'.
+
%prep
%setup -q
@@ -185,7 +196,10 @@ make DESTDIR=$RPM_BUILD_ROOT install
make -C updateonboot DESTDIR=$RPM_BUILD_ROOT install
# Plugins to install
-plugins="changelog fastestmirror fedorakmod protectbase versionlock tsflags kernel-module downloadonly allowdowngrade skip-broken priorities refresh-updatesd merge-conf security protect-packages"
+plugins="changelog fastestmirror fedorakmod protectbase versionlock tsflags kernel-module \
+ downloadonly allowdowngrade skip-broken priorities refresh-updatesd merge-conf \
+ security protect-packages basearchonly"
+
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/
cd plugins
@@ -309,8 +323,16 @@ fi
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/protect-packages.conf
/usr/lib/yum-plugins/protect-packages.*
+%files -n yum-basearchonly
+%defattr(-, root, root)
+%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/basearchonly.conf
+/usr/lib/yum-plugins/basearchonly.*
+
+
%changelog
* Tue Jul 24 2007 Tim Lauridsen <tla at rasmil.dk>
+- Added basearchonly plugin by Adel Gadllah
+* Tue Jul 24 2007 Tim Lauridsen <tla at rasmil.dk>
- mark as 1.1.6
* Tue Jul 17 2007 Tim Lauridsen <tla at rasmil.dk>
- Added Requires: yum-updatesd to yum-refresh-updatesd
More information about the Yum-cvs-commits
mailing list