summaryrefslogtreecommitdiffstats
path: root/anaconda.spec
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-07-16 14:09:25 -0400
committerChris Lumens <clumens@redhat.com>2008-08-21 14:29:52 -0400
commit98b3e12ac5d54c5d33c03de8f175daf196734b41 (patch)
tree46016604ce7e98455bf5d0c9ac725b71859160ba /anaconda.spec
parentf7f4a89b782806e71dfe7f125de82351197a0b07 (diff)
downloadanaconda-98b3e12ac5d54c5d33c03de8f175daf196734b41.tar.gz
anaconda-98b3e12ac5d54c5d33c03de8f175daf196734b41.tar.xz
anaconda-98b3e12ac5d54c5d33c03de8f175daf196734b41.zip
Create a subpackage containing the yum plugins.
Diffstat (limited to 'anaconda.spec')
-rw-r--r--anaconda.spec13
1 files changed, 13 insertions, 0 deletions
diff --git a/anaconda.spec b/anaconda.spec
index 5a673eddf..3c1777293 100644
--- a/anaconda.spec
+++ b/anaconda.spec
@@ -136,6 +136,15 @@ Provides: anaconda-runtime = %{version}-%{release}
The anaconda package contains the program which was used to install your
system. These files are of little use on an already installed system.
+%package yum-plugins
+Summary: Installation-related yum plugins
+Group: Applications/System
+Requires: python, yum
+
+%description yum-plugins
+The anaconda yum-plugins package contains yum plugins that are useful for
+anaconda and other system installation-related programs.
+
%prep
%setup -q
@@ -193,6 +202,10 @@ desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{bu
%{_datadir}/applications/*.desktop
%endif
+%files yum-plugins
+%defattr(-,root,root)
+%{_prefix}/lib/yum-plugins/*
+
%triggerun -- anaconda < 8.0-1
/sbin/chkconfig --del reconfig >/dev/null 2>&1 || :