Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9e5c1f313 | ||
|
|
2d941a9886 | ||
|
|
32a05365a9 | ||
|
|
e174234437 | ||
|
|
84391dd6ee | ||
|
|
d1bf2e0dbf | ||
|
|
8ce858eef0 | ||
|
|
784c0a3732 | ||
|
|
41174569e5 | ||
|
|
9af273d8b2 | ||
|
|
8db704084c | ||
|
|
2a958728a2 |
5 changed files with 335 additions and 238 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: yum-utils
|
||||
# $Id$
|
||||
NAME := yum-utils
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
29eedb17fd40b158c129c84dc865d889 yum-utils-1.1.13.tar.gz
|
||||
cb98191c2545b72edecf26ba46ded94a yum-utils-1.1.20.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,89 +0,0 @@
|
|||
--- a/yumdownloader.py 2008-01-30 01:03:15.000000000 -0500
|
||||
+++ b/yumdownloader.py 2008-03-07 10:54:06.000000000 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
from urlgrabber.progress import TextMeter
|
||||
import shutil
|
||||
|
||||
+import rpmUtils
|
||||
|
||||
class YumDownloader(YumUtilBase):
|
||||
NAME = 'yumdownloader'
|
||||
@@ -64,9 +65,12 @@
|
||||
self.logger.error("Error: Could not make cachedir, exiting")
|
||||
sys.exit(50)
|
||||
self.repos.setCacheDir(cachedir)
|
||||
- # Turn of cache
|
||||
- self.conf.cache = 0
|
||||
|
||||
+ # Turn off cache
|
||||
+ self.conf.cache = 0
|
||||
+ # make sure the repos know about it, too
|
||||
+ self.repos.setCache(0)
|
||||
+
|
||||
# Setup yum (Ts, RPM db, Repo & Sack)
|
||||
self.doUtilYumSetup(opts)
|
||||
# Setup source repos
|
||||
@@ -116,14 +120,12 @@
|
||||
|
||||
def downloadPackages(self,opts):
|
||||
|
||||
- avail = self.pkgSack.returnPackages()
|
||||
-
|
||||
toDownload = []
|
||||
|
||||
packages = self.cmds
|
||||
for pkg in packages:
|
||||
toActOn = []
|
||||
- exactmatch, matched, unmatched = parsePackages(avail, [pkg])
|
||||
+ exactmatch, matched, unmatched = parsePackages(self.pkgSack.returnPackages(), [pkg])
|
||||
installable = yum.misc.unique(exactmatch + matched)
|
||||
if len(unmatched) > 0: # if we get back anything in unmatched, it fails
|
||||
self.logger.error('No Match for argument %s' % pkg)
|
||||
@@ -158,9 +160,12 @@
|
||||
if toActOn:
|
||||
if opts.source:
|
||||
toDownload.extend(self.bestPackagesFromList(toActOn, 'src'))
|
||||
+ elif opts.archlist:
|
||||
+ for arch in opts.archlist.split(','):
|
||||
+ toDownload.extend(self.bestPackagesFromList(toActOn, arch))
|
||||
else:
|
||||
toDownload.extend(self.bestPackagesFromList(toActOn))
|
||||
-
|
||||
+
|
||||
# If the user supplies to --resolve flag, resolve dependencies for
|
||||
# all packages
|
||||
# note this might require root access because the headers need to be
|
||||
@@ -215,18 +220,20 @@
|
||||
size=os.stat(path).st_size)
|
||||
shutil.copy2(path, local)
|
||||
progress.end(progress.size)
|
||||
-
|
||||
+
|
||||
# sligly modified from the one in YumUtilBase
|
||||
def doUtilYumSetup(self,opts):
|
||||
"""do a default setup for all the normal/necessary yum components,
|
||||
really just a shorthand for testing"""
|
||||
try:
|
||||
- self._getTs()
|
||||
- self._getRpmDB()
|
||||
self._getRepos()
|
||||
# if '--source' is used the add src to the archlist
|
||||
if opts.source:
|
||||
archlist = rpmUtils.arch.getArchList() + ['src']
|
||||
+ elif opts.archlist:
|
||||
+ archlist = []
|
||||
+ for a in opts.archlist.split(','):
|
||||
+ archlist.extend(rpmUtils.arch.getArchList(a))
|
||||
else:
|
||||
archlist = rpmUtils.arch.getArchList()
|
||||
self._getSacks(archlist=archlist)
|
||||
@@ -251,7 +258,8 @@
|
||||
help='resolve dependencies and download required packages')
|
||||
parser.add_option("--source", default=False, dest="source", action="store_true",
|
||||
help='operate on source packages')
|
||||
-
|
||||
+ parser.add_option("--archlist",
|
||||
+ help="only download packages of certain architecture(s)")
|
||||
if __name__ == '__main__':
|
||||
util = YumDownloader()
|
||||
|
||||
461
yum-utils.spec
461
yum-utils.spec
|
|
@ -1,25 +1,29 @@
|
|||
Summary: Utilities based around the yum package manager
|
||||
Name: yum-utils
|
||||
Version: 1.1.13
|
||||
Release: 2%{?dist}
|
||||
License: GPL
|
||||
Version: 1.1.20
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Development/Tools
|
||||
Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
|
||||
URL: http://linux.duke.edu/yum/download/yum-utils/
|
||||
Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
|
||||
URL: http://yum.baseurl.org/download/yum-utils/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: python >= 2.4 , yum >= 3.1.1
|
||||
Requires: python >= 2.4 , yum >= 3.2.22
|
||||
|
||||
%description
|
||||
yum-utils is a collection of utilities and examples for the yum package
|
||||
manager. It includes utilities by different authors that make yum easier and
|
||||
manager. It includes utilities by different authors that make yum easier and
|
||||
more powerful to use. These tools include: debuginfo-install, package-cleanup,
|
||||
repoclosure, repodiff, repo-graph, repomanage, repoquery, repo-rss, reposync,
|
||||
repotrack, yum-builddep, yum-complete-transaction, yumdownloader.
|
||||
repotrack, verifytree, yum-builddep, yum-complete-transaction, yumdownloader,
|
||||
yum-debug-dump and yum-groups-manager.
|
||||
|
||||
%package -n yum-updateonboot
|
||||
Summary: Run yum update on system boot
|
||||
Group: System Environment/Base
|
||||
Provides: yum-updateonboot
|
||||
Obsoletes: yum-updateonboot < 1.1.20-0
|
||||
Conflicts: yum-updateonboot < 1.1.20-0
|
||||
Requires: python, yum >= 2.4
|
||||
Requires(pre): chkconfig
|
||||
Requires(post): chkconfig
|
||||
|
|
@ -29,225 +33,326 @@ Runs yum update on system boot. This allows machines that have been turned
|
|||
off for an extended amount of time to become secure immediately, instead of
|
||||
waiting until the next early morning cron job.
|
||||
|
||||
%package -n yum-changelog
|
||||
%package -n yum-plugin-changelog
|
||||
Summary: Yum plugin for viewing package changelogs before/after updating
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0
|
||||
Provides: yum-changelog
|
||||
Obsoletes: yum-changelog < 1.1.20-0
|
||||
Conflicts: yum-changelog < 1.1.20-0
|
||||
Requires: yum >= 3.2.19
|
||||
Requires: python-dateutil
|
||||
|
||||
%description -n yum-changelog
|
||||
This plugin adds a command line option to allow viewing package changelog
|
||||
%description -n yum-plugin-changelog
|
||||
This plugin adds a command line option to allow viewing package changelog
|
||||
deltas before or after updating packages.
|
||||
|
||||
%package -n yum-fastestmirror
|
||||
%package -n yum-plugin-fastestmirror
|
||||
Summary: Yum plugin which chooses fastest repository from a mirrorlist
|
||||
Group: System Environment/Base
|
||||
Provides: yum-fastestmirror
|
||||
Obsoletes: yum-fastestmirror < 1.1.20-0
|
||||
Conflicts: yum-fastestmirror < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-fastestmirror
|
||||
%description -n yum-plugin-fastestmirror
|
||||
This plugin sorts each repository's mirrorlist by connection speed
|
||||
prior to downloading packages.
|
||||
|
||||
%package -n yum-fedorakmod
|
||||
Summary: Yum plugin to handle fedora kernel modules.
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-fedorakmod
|
||||
Plugin for Yum to handle installation of kmod-foo type of kernel modules, when new kernel versions
|
||||
are installed.
|
||||
kmod-foo kernel modules is described by the Fedora Extras packaging standards.
|
||||
|
||||
%package -n yum-protectbase
|
||||
%package -n yum-plugin-protectbase
|
||||
Summary: Yum plugin to protect packages from certain repositories.
|
||||
Group: System Environment/Base
|
||||
Provides: yum-protectbase
|
||||
Obsoletes: yum-protectbase < 1.1.20-0
|
||||
Conflicts: yum-protectbase < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-protectbase
|
||||
%description -n yum-plugin-protectbase
|
||||
This plugin allows certain repositories to be protected. Packages in the
|
||||
protected repositories can't be overridden by packages in non-protected
|
||||
repositories even if the non-protected repo has a later version.
|
||||
|
||||
%package -n yum-versionlock
|
||||
%package -n yum-plugin-versionlock
|
||||
Summary: Yum plugin to lock specified packages from being updated
|
||||
Group: System Environment/Base
|
||||
Provides: yum-versionlock
|
||||
Obsoletes: yum-versionlock < 1.1.20-0
|
||||
Conflicts: yum-versionlock < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-versionlock
|
||||
This plugin allows certain packages specified in a file to be protected from being updated by
|
||||
newer versions.
|
||||
%description -n yum-plugin-versionlock
|
||||
This plugin takes a set of name/versions for packages and excludes all other
|
||||
versions of those packages (including optionally following obsoletes). This
|
||||
allows you to protect packages from being updated by newer versions,
|
||||
for example.
|
||||
|
||||
%package -n yum-tsflags
|
||||
%package -n yum-plugin-tsflags
|
||||
Summary: Yum plugin to add tsflags by a commandline option
|
||||
Group: System Environment/Base
|
||||
Provides: yum-tsflags
|
||||
Obsoletes: yum-tsflags < 1.1.20-0
|
||||
Conflicts: yum-tsflags < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-tsflags
|
||||
%description -n yum-plugin-tsflags
|
||||
This plugin allows you to specify optional transaction flags on the yum
|
||||
command line
|
||||
|
||||
%package -n yum-kernel-module
|
||||
Summary: Yum plugin to handle kernel-module-foo type of kernel module
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-kernel-module
|
||||
This plugin handle installation of kernel-module-foo type of kernel modules when new version of
|
||||
kernels are installed.
|
||||
|
||||
|
||||
%package -n yum-downloadonly
|
||||
%package -n yum-plugin-downloadonly
|
||||
Summary: Yum plugin to add downloadonly command option
|
||||
Group: System Environment/Base
|
||||
Provides: yum-downloadonly
|
||||
Obsoletes: yum-downloadonly < 1.1.20-0
|
||||
Conflicts: yum-downloadonly < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-downloadonly
|
||||
%description -n yum-plugin-downloadonly
|
||||
This plugin adds a --downloadonly flag to yum so that yum will only download
|
||||
the packages and not install/update them.
|
||||
|
||||
%package -n yum-allowdowngrade
|
||||
%package -n yum-plugin-allowdowngrade
|
||||
Summary: Yum plugin to enable manual downgrading of packages
|
||||
Group: System Environment/Base
|
||||
Provides: yum-allowdowngrade
|
||||
Obsoletes: yum-allowdowngrade < 1.1.20-0
|
||||
Conflicts: yum-allowdowngrade < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-allowdowngrade
|
||||
%description -n yum-plugin-allowdowngrade
|
||||
This plugin adds a --allow-downgrade flag to yum to make it possible to
|
||||
manually downgrade packages to specific versions.
|
||||
|
||||
%package -n yum-skip-broken
|
||||
Summary: Yum plugin to handle skiping packages with dependency problems
|
||||
%package -n yum-plugin-priorities
|
||||
Summary: plugin to give priorities to packages from different repos
|
||||
Group: System Environment/Base
|
||||
Provides: yum-priorities
|
||||
Obsoletes: yum-priorities < 1.1.20-0
|
||||
Conflicts: yum-priorities < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-skip-broken
|
||||
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-priorities
|
||||
Summary: plugin to give priorities to packages from different repos
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-priorities
|
||||
This plugin allows repositories to have different priorities.
|
||||
%description -n yum-plugin-priorities
|
||||
This plugin allows repositories to have different priorities.
|
||||
Packages in a repository with a lower priority can't be overridden by packages
|
||||
from a repository with a higher priority even if repo has a later version.
|
||||
|
||||
%package -n yum-refresh-updatesd
|
||||
%package -n yum-plugin-refresh-updatesd
|
||||
Summary: Tell yum-updatesd to check for updates when yum exits
|
||||
Group: System Environment/Base
|
||||
Provides: yum-refresh-updatesd
|
||||
Obsoletes: yum-refresh-updatesd < 1.1.20-0
|
||||
Conflicts: yum-refresh-updatesd < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
Requires: yum-updatesd
|
||||
|
||||
%description -n yum-refresh-updatesd
|
||||
%description -n yum-plugin-refresh-updatesd
|
||||
yum-refresh-updatesd tells yum-updatesd to check for updates when yum exits.
|
||||
This way, if you run 'yum update' and install all available updates, puplet
|
||||
will almost instantly update itself to reflect this.
|
||||
|
||||
%package -n yum-merge-conf
|
||||
%package -n yum-plugin-merge-conf
|
||||
Summary: Yum plugin to merge configuration changes when installing packages
|
||||
Group: System Environment/Base
|
||||
Provides: yum-merge-conf
|
||||
Obsoletes: yum-merge-conf < 1.1.20-0
|
||||
Conflicts: yum-merge-conf < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-merge-conf
|
||||
%description -n yum-plugin-merge-conf
|
||||
This yum plugin adds the "--merge-conf" command line option. With this option,
|
||||
Yum will ask you what to do with config files which have changed on updating a
|
||||
package.
|
||||
|
||||
%package -n yum-security
|
||||
%package -n yum-plugin-security
|
||||
Summary: Yum plugin to enable security filters
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0.5
|
||||
Provides: yum-security
|
||||
Obsoletes: yum-security < 1.1.20-0
|
||||
Conflicts: yum-security < 1.1.20-0
|
||||
Requires: yum >= 3.2.18
|
||||
|
||||
%description -n yum-security
|
||||
%description -n yum-plugin-security
|
||||
This plugin adds the options --security, --cve, --bz and --advisory flags
|
||||
to yum and the list-security and info-security commands.
|
||||
The options make it possible to limit list/upgrade of packages to specific
|
||||
security relevant ones. The commands give you the security information.
|
||||
|
||||
%package -n yum-protect-packages
|
||||
Summary: Yum plugin to prevents Yum from removing itself and other protected packages
|
||||
%package -n yum-plugin-protect-packages
|
||||
Summary: Yum plugin to prevents Yum from removing itself and other protected packages
|
||||
Group: System Environment/Base
|
||||
Provides: yum-protect-packages
|
||||
Obsoletes: yum-protect-packages < 1.1.20-0
|
||||
Conflicts: yum-protect-packages < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-protect-packages
|
||||
%description -n yum-plugin-protect-packages
|
||||
this plugin prevents Yum from removing itself and other protected packages.
|
||||
By default, yum is the only package protected, but by extension this
|
||||
automatically protects everything on which yum depends (rpm, python, glibc,
|
||||
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
|
||||
%package -n yum-plugin-basearchonly
|
||||
Summary: Yum plugin to let Yum install only basearch packages.
|
||||
Group: System Environment/Base
|
||||
Provides: yum-basearchonly
|
||||
Obsoletes: yum-basearchonly < 1.1.20-0
|
||||
Conflicts: yum-basearchonly < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-basearchonly
|
||||
%description -n yum-plugin-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'.
|
||||
|
||||
%package -n yum-upgrade-helper
|
||||
%package -n yum-plugin-upgrade-helper
|
||||
Summary: Yum plugin to help upgrades to the next distribution version
|
||||
Group: System Environment/Base
|
||||
Provides: yum-upgrade-helper
|
||||
Obsoletes: yum-upgrade-helper < 1.1.20-0
|
||||
Conflicts: yum-upgrade-helper < 1.1.20-0
|
||||
Requires: yum >= 3.0
|
||||
|
||||
%description -n yum-upgrade-helper
|
||||
%description -n yum-plugin-upgrade-helper
|
||||
this plugin allows yum to erase specific packages on install/update based on an additional
|
||||
metadata file in repositories. It is used to simplify distribution upgrade hangups.
|
||||
|
||||
%package -n yum-aliases
|
||||
%package -n yum-plugin-aliases
|
||||
Summary: Yum plugin to enable aliases filters
|
||||
Group: System Environment/Base
|
||||
Provides: yum-aliases
|
||||
Obsoletes: yum-aliases < 1.1.20-0
|
||||
Conflicts: yum-aliases < 1.1.20-0
|
||||
Requires: yum >= 3.0.5
|
||||
|
||||
%description -n yum-aliases
|
||||
%description -n yum-plugin-aliases
|
||||
This plugin adds the command alias, and parses the aliases config. file to
|
||||
enable aliases.
|
||||
|
||||
%package -n yum-list-data
|
||||
%package -n yum-plugin-list-data
|
||||
Summary: Yum plugin to list aggregate package data
|
||||
Group: System Environment/Base
|
||||
Provides: yum-list-data
|
||||
Obsoletes: yum-list-data < 1.1.20-0
|
||||
Conflicts: yum-list-data < 1.1.20-0
|
||||
Requires: yum >= 3.0.5
|
||||
|
||||
%description -n yum-list-data
|
||||
%description -n yum-plugin-list-data
|
||||
This plugin adds the commands list- vendors, groups, packagers, licenses,
|
||||
arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and
|
||||
installed-sizes.
|
||||
|
||||
%package -n yum-filter-data
|
||||
%package -n yum-plugin-filter-data
|
||||
Summary: Yum plugin to list filter based on package data
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0.5
|
||||
Provides: yum-filter-data
|
||||
Obsoletes: yum-filter-data < 1.1.20-0
|
||||
Conflicts: yum-filter-data < 1.1.20-0
|
||||
Requires: yum >= 3.2.17
|
||||
|
||||
%description -n yum-filter-data
|
||||
%description -n yum-plugin-filter-data
|
||||
This plugin adds the options --filter- vendors, groups, packagers, licenses,
|
||||
arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and
|
||||
installed-sizes. Note that each package must match at least one pattern/range in
|
||||
each category, if any were specified.
|
||||
|
||||
%package -n yum-tmprepo
|
||||
%package -n yum-plugin-tmprepo
|
||||
Summary: Yum plugin to add temporary repositories
|
||||
Group: System Environment/Base
|
||||
Provides: yum-tmprepo
|
||||
Obsoletes: yum-tmprepo < 1.1.20-0
|
||||
Conflicts: yum-tmprepo < 1.1.20-0
|
||||
Requires: yum >= 3.2.11
|
||||
Requires: createrepo
|
||||
|
||||
%description -n yum-tmprepo
|
||||
%description -n yum-plugin-tmprepo
|
||||
This plugin adds the option --tmprepo which takes a url to a .repo file
|
||||
downloads it and enables it for a single run. This plugin tries to ensure
|
||||
that temporary repositories are safe to use, by default, by not allowing
|
||||
gpg checking to be disabled.
|
||||
|
||||
%package -n yum-verify
|
||||
%package -n yum-plugin-verify
|
||||
Summary: Yum plugin to add verify command, and options
|
||||
Group: System Environment/Base
|
||||
Provides: yum-verify
|
||||
Obsoletes: yum-verify < 1.1.20-0
|
||||
Conflicts: yum-verify < 1.1.20-0
|
||||
Requires: yum >= 3.2.12
|
||||
|
||||
%description -n yum-verify
|
||||
%description -n yum-plugin-verify
|
||||
This plugin adds the commands verify, verify-all and verify-rpm. There are
|
||||
also a couple of options. This command works like rpm -V, to verify your
|
||||
installation.
|
||||
|
||||
%package -n yum-plugin-keys
|
||||
Summary: Yum plugin to deal with signing keys
|
||||
Group: System Environment/Base
|
||||
Provides: yum-keys
|
||||
Obsoletes: yum-keys < 1.1.20-0
|
||||
Conflicts: yum-keys < 1.1.20-0
|
||||
Requires: yum >= 3.2.19
|
||||
|
||||
%description -n yum-plugin-keys
|
||||
This plugin adds the commands keys, keys-info, keys-data and keys-remove. They
|
||||
allow you to query and remove signing keys.
|
||||
|
||||
%package -n yum-plugin-remove-with-leaves
|
||||
Summary: Yum plugin to remove dependencies which are no longer used because of a removal
|
||||
Group: System Environment/Base
|
||||
Provides: yum-remove-with-leaves
|
||||
Obsoletes: yum-remove-with-leaves < 1.1.20-0
|
||||
Conflicts: yum-remove-with-leaves < 1.1.20-0
|
||||
Requires: yum >= 3.2.19
|
||||
|
||||
%description -n yum-plugin-remove-with-leaves
|
||||
This plugin removes any unused dependencies that were brought in by an install
|
||||
but would not normally be removed. It helps to keep a system clean of unused
|
||||
libraries and packages.
|
||||
|
||||
%package -n yum-plugin-post-transaction-actions
|
||||
Summary: Yum plugin to run arbitrary commands when certain pkgs are acted on
|
||||
Group: System Environment/Base
|
||||
Provides: yum-post-transaction-actions
|
||||
Obsoletes: yum-post-transaction-actions < 1.1.20-0
|
||||
Conflicts: yum-post-transaction-actions < 1.1.20-0
|
||||
Requires: yum >= 3.2.19
|
||||
|
||||
%description -n yum-plugin-post-transaction-actions
|
||||
This plugin allows the user to run arbitrary actions immediately following a
|
||||
transaction when specified packages are changed.
|
||||
|
||||
%package -n yum-NetworkManager-dispatcher
|
||||
Summary: NetworkManager script which tells yum to check it's cache on network change
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.2.17
|
||||
|
||||
%description -n yum-NetworkManager-dispatcher
|
||||
This NetworkManager "dispatch script" forces yum to check its cache if/when a
|
||||
new network connection happens in NetworkManager. Note that currently there is
|
||||
no checking of previous data, so if your WiFi keeps going up and down (or you
|
||||
suspend/resume a lot) yum will recheck its cached data a lot.
|
||||
|
||||
%package -n yum-plugin-rpm-warm-cache
|
||||
Summary: Yum plugin to access the rpmdb files early to warm up access to the db
|
||||
Group: System Environment/Base
|
||||
Provides: yum-rpm-warm-cache
|
||||
Obsoletes: yum-rpm-warm-cache < 1.1.20-0
|
||||
Conflicts: yum-rpm-warm-cache < 1.1.20-0
|
||||
Requires: yum >= 3.2.19
|
||||
|
||||
%description -n yum-plugin-rpm-warm-cache
|
||||
This plugin reads the rpmdb files into the system cache before accessing the
|
||||
rpmdb directly. In some cases this should speed up access to rpmdb information
|
||||
|
||||
%package -n yum-plugin-auto-update-debuginfo
|
||||
Summary: Yum plugin to enable automatic updates to installed debuginfo packages
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.2.19
|
||||
|
||||
%description -n yum-plugin-auto-update-debuginfo
|
||||
This plugin looks to see if any debuginfo packages are installed, and if there
|
||||
are it enables all debuginfo repositories that are "children" of enabled
|
||||
repositories.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
|
@ -257,11 +362,35 @@ 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 basearchonly upgrade-helper aliases list-data filter-data tmprepo verify"
|
||||
plugins="\
|
||||
changelog \
|
||||
fastestmirror \
|
||||
protectbase \
|
||||
versionlock \
|
||||
tsflags \
|
||||
downloadonly \
|
||||
allowdowngrade \
|
||||
priorities \
|
||||
refresh-updatesd \
|
||||
merge-conf \
|
||||
security \
|
||||
protect-packages \
|
||||
basearchonly \
|
||||
upgrade-helper \
|
||||
aliases \
|
||||
list-data \
|
||||
filter-data \
|
||||
tmprepo \
|
||||
verify \
|
||||
keys \
|
||||
remove-with-leaves \
|
||||
post-transaction-actions \
|
||||
rpm-warm-cache \
|
||||
auto-update-debuginfo \
|
||||
"
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/post-actions
|
||||
|
||||
cd plugins
|
||||
for plug in $plugins; do
|
||||
|
|
@ -289,6 +418,7 @@ fi
|
|||
%doc COPYING
|
||||
%doc plugins/README
|
||||
%{_bindir}/debuginfo-install
|
||||
%{_bindir}/find-repos-of-install
|
||||
%{_bindir}/package-cleanup
|
||||
%{_bindir}/repoclosure
|
||||
%{_bindir}/repodiff
|
||||
|
|
@ -298,16 +428,23 @@ fi
|
|||
%{_bindir}/reposync
|
||||
%{_bindir}/repo-graph
|
||||
%{_bindir}/repo-rss
|
||||
%{_bindir}/verifytree
|
||||
%{_bindir}/yumdownloader
|
||||
%{_bindir}/yum-builddep
|
||||
%{_bindir}/yum-debug-dump
|
||||
%{_bindir}/yum-groups-manager
|
||||
%{_sbindir}/yum-complete-transaction
|
||||
%{_mandir}/man1/yum-utils.1.*
|
||||
%{_mandir}/man1/debuginfo-install.1.*
|
||||
%{_mandir}/man1/package-cleanup.1.*
|
||||
%{_mandir}/man1/repo-rss.1.*
|
||||
%{_mandir}/man1/repoquery.1.*
|
||||
%{_mandir}/man1/repodiff.1.*
|
||||
%{_mandir}/man1/reposync.1.*
|
||||
%{_mandir}/man1/yum-builddep.1.*
|
||||
%{_mandir}/man1/yum-debug-dump.1.*
|
||||
%{_mandir}/man8/yum-complete-transaction.8.*
|
||||
%{_mandir}/man1/yum-groups-manager.1.*
|
||||
%{_mandir}/man1/yumdownloader.1.*
|
||||
|
||||
%files -n yum-updateonboot
|
||||
|
|
@ -316,128 +453,198 @@ fi
|
|||
%config(noreplace) %{_sysconfdir}/sysconfig/yum-updateonboot
|
||||
%{_initrddir}/yum-updateonboot
|
||||
|
||||
%files -n yum-changelog
|
||||
%files -n yum-plugin-changelog
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/changelog.conf
|
||||
/usr/lib/yum-plugins/changelog.*
|
||||
%{_mandir}/man1/yum-changelog.1.*
|
||||
%{_mandir}/man5/yum-changelog.conf.5.*
|
||||
|
||||
%files -n yum-fastestmirror
|
||||
%files -n yum-plugin-fastestmirror
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf
|
||||
/usr/lib/yum-plugins/fastestmirror.*
|
||||
/usr/lib/yum-plugins/fastestmirror*.*
|
||||
|
||||
%files -n yum-fedorakmod
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/fedorakmod.conf
|
||||
/usr/lib/yum-plugins/fedorakmod.*
|
||||
|
||||
%files -n yum-protectbase
|
||||
%files -n yum-plugin-protectbase
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/protectbase.conf
|
||||
/usr/lib/yum-plugins/protectbase.*
|
||||
|
||||
%files -n yum-versionlock
|
||||
%files -n yum-plugin-versionlock
|
||||
%defattr(-, root, root)
|
||||
%doc plugins/versionlock/README
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/versionlock.conf
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/versionlock.list
|
||||
/usr/lib/yum-plugins/versionlock.*
|
||||
%{_mandir}/man1/yum-versionlock.1.*
|
||||
%{_mandir}/man5/yum-versionlock.conf.5.*
|
||||
|
||||
%files -n yum-tsflags
|
||||
%files -n yum-plugin-tsflags
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/tsflags.conf
|
||||
/usr/lib/yum-plugins/tsflags.*
|
||||
|
||||
%files -n yum-kernel-module
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/kernel-module.conf
|
||||
/usr/lib/yum-plugins/kernel-module.*
|
||||
|
||||
%files -n yum-downloadonly
|
||||
%files -n yum-plugin-downloadonly
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/downloadonly.conf
|
||||
/usr/lib/yum-plugins/downloadonly.*
|
||||
|
||||
%files -n yum-allowdowngrade
|
||||
%files -n yum-plugin-allowdowngrade
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/allowdowngrade.conf
|
||||
/usr/lib/yum-plugins/allowdowngrade.*
|
||||
|
||||
%files -n yum-skip-broken
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/skip-broken.conf
|
||||
/usr/lib/yum-plugins/skip-broken.*
|
||||
|
||||
%files -n yum-priorities
|
||||
%files -n yum-plugin-priorities
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/priorities.conf
|
||||
/usr/lib/yum-plugins/priorities.*
|
||||
|
||||
%files -n yum-refresh-updatesd
|
||||
%files -n yum-plugin-refresh-updatesd
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/refresh-updatesd.conf
|
||||
/usr/lib/yum-plugins/refresh-updatesd.*
|
||||
|
||||
%files -n yum-merge-conf
|
||||
%files -n yum-plugin-merge-conf
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/merge-conf.conf
|
||||
/usr/lib/yum-plugins/merge-conf.*
|
||||
|
||||
%files -n yum-security
|
||||
%files -n yum-plugin-security
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/security.conf
|
||||
/usr/lib/yum-plugins/security.*
|
||||
%{_mandir}/man8/yum-security.8.*
|
||||
|
||||
%files -n yum-protect-packages
|
||||
%files -n yum-plugin-protect-packages
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/protect-packages.conf
|
||||
/usr/lib/yum-plugins/protect-packages.*
|
||||
|
||||
%files -n yum-basearchonly
|
||||
%files -n yum-plugin-basearchonly
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/basearchonly.conf
|
||||
/usr/lib/yum-plugins/basearchonly.*
|
||||
|
||||
%files -n yum-upgrade-helper
|
||||
%files -n yum-plugin-upgrade-helper
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf
|
||||
/usr/lib/yum-plugins/upgrade-helper.*
|
||||
|
||||
%files -n yum-aliases
|
||||
%files -n yum-plugin-aliases
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/aliases.conf
|
||||
%config(noreplace) %{_sysconfdir}/yum/aliases.conf
|
||||
/usr/lib/yum-plugins/aliases.*
|
||||
%{_mandir}/man1/yum-aliases.1.*
|
||||
|
||||
%files -n yum-list-data
|
||||
%files -n yum-plugin-list-data
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/list-data.conf
|
||||
/usr/lib/yum-plugins/list-data.*
|
||||
%{_mandir}/man1/yum-list-data.1.*
|
||||
|
||||
%files -n yum-filter-data
|
||||
%files -n yum-plugin-filter-data
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf
|
||||
/usr/lib/yum-plugins/filter-data.*
|
||||
%{_mandir}/man1/yum-filter-data.1.*
|
||||
|
||||
%files -n yum-tmprepo
|
||||
%files -n yum-plugin-tmprepo
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf
|
||||
/usr/lib/yum-plugins/tmprepo.*
|
||||
|
||||
%files -n yum-verify
|
||||
%files -n yum-plugin-verify
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/verify.conf
|
||||
/usr/lib/yum-plugins/verify.*
|
||||
%{_mandir}/man1/yum-verify.1.*
|
||||
|
||||
%files -n yum-plugin-keys
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/keys.conf
|
||||
/usr/lib/yum-plugins/keys.*
|
||||
|
||||
%files -n yum-NetworkManager-dispatcher
|
||||
%defattr(-, root, root)
|
||||
/etc/NetworkManager/dispatcher.d/*
|
||||
|
||||
%files -n yum-plugin-remove-with-leaves
|
||||
%defattr(-, root, root)
|
||||
/usr/lib/yum-plugins/remove-with-leaves.*
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/remove-with-leaves.conf
|
||||
|
||||
%files -n yum-plugin-post-transaction-actions
|
||||
%defattr(-, root, root)
|
||||
/usr/lib/yum-plugins/post-transaction-actions.*
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/post-transaction-actions.conf
|
||||
%doc plugins/post-transaction-actions/sample.action
|
||||
# Default *.action file dropping dir.
|
||||
%dir %{_sysconfdir}/yum/post-actions
|
||||
|
||||
%files -n yum-plugin-rpm-warm-cache
|
||||
%defattr(-, root, root)
|
||||
/usr/lib/yum-plugins/rpm-warm-cache.*
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/rpm-warm-cache.conf
|
||||
|
||||
%files -n yum-plugin-auto-update-debuginfo
|
||||
%defattr(-, root, root)
|
||||
/usr/lib/yum-plugins/auto-update-debuginfo.*
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/auto-update-debuginfo.conf
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 21 2008 Seth Vidal <skvidal@fedoraproject.org>
|
||||
- add python-dateutil requires to yum-changelog
|
||||
* Sun Mar 1 2009 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.20
|
||||
- rename plugins from yum-name to yum-plugin-name
|
||||
|
||||
* Wed Feb 25 2009 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- Remove yum-kernel-module & yum-fedorakmod plugins (no obsoleting yet)
|
||||
- Remove yum-skip-broken plugin leftovers
|
||||
|
||||
* Tue Feb 3 2009 James Antill <james@fedoraproject.org>
|
||||
- add auto-update-debuginfo plugin
|
||||
|
||||
* Wed Dec 17 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.19
|
||||
|
||||
* Wed Dec 10 2008 Seth Vidal <skvidal at fedoraproject.org>
|
||||
- add find-repos-of-install from James' stash of misc stuff
|
||||
|
||||
* Wed Oct 29 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.18
|
||||
|
||||
* Mon Oct 27 2008 Seth Vidal <skvidal at fedoraproject.org>
|
||||
- add rpm-warm-cache plugin
|
||||
|
||||
* Fri Sep 19 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- removed skip-broken plugin
|
||||
|
||||
* Wed Sep 17 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.17
|
||||
|
||||
* Mon Sep 8 2008 Seth Vidal <skvidal at fedoraproject.org>
|
||||
- add yum-remove-with-leaves plugin
|
||||
|
||||
* Wed Aug 27 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.16
|
||||
* Wed Aug 20 2008 James Antill <james@fedoraproject.org>
|
||||
- add yum-groups-manager
|
||||
|
||||
* Thu Aug 7 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.15
|
||||
* Wed May 21 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- add verifytree
|
||||
|
||||
* Wed May 21 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
Make yum-fastestmirror %%files handle the fastestmirror-asyncore.py file
|
||||
* Wed May 21 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.14
|
||||
* Fri Apr 10 2008 James Antill <james@fedoraproject.org>
|
||||
- Add keys plugin
|
||||
|
||||
* Fri Mar 31 2008 James Antill <james@fedoraproject.org>
|
||||
- Add yum-aliases man page
|
||||
|
||||
* Fri Mar 21 2008 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.13
|
||||
|
|
@ -470,7 +677,7 @@ fi
|
|||
- Add yum-aliases plugin
|
||||
|
||||
* Fri Dec 7 2007 Tim Lauridsen <timlau@fedoraproject.org>
|
||||
- mark as 1.1.9
|
||||
- mark as 1.1.9
|
||||
* Fri Oct 26 2007 Seth Vidal <skvidal at fedoraproject.org>
|
||||
- add upgrade-helper plugin
|
||||
* Wed Oct 17 2007 Tim Lauridsen <tla@rasmil.dk>
|
||||
|
|
@ -546,7 +753,7 @@ fi
|
|||
- mark it as 1.0.1
|
||||
|
||||
* Fri Oct 27 2006 Tim Lauridsen <tla@rasmil.dk>
|
||||
- Added priorities plugin written by Daniel de Kok <danieldk at pobox.com>
|
||||
- Added priorities plugin written by Daniel de Kok <danieldk at pobox.com>
|
||||
|
||||
* Wed Oct 4 2006 Seth Vidal <skvidal at linux.duke.edu>
|
||||
- mark it as 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue