| 1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|---|
| 2 |
|
|---|
| 3 | Summary: Utilities based around the yum package manager
|
|---|
| 4 | Name: yum-utils
|
|---|
| 5 | Version: 1.1.31
|
|---|
| 6 | Release: 1%{?dist}
|
|---|
| 7 | License: GPLv2+
|
|---|
| 8 | Group: Development/Tools
|
|---|
| 9 | Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
|
|---|
| 10 | Patch0: yum-utils-os2.patch
|
|---|
| 11 |
|
|---|
| 12 | URL: http://yum.baseurl.org/download/yum-utils/
|
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|---|
| 14 | BuildArch: noarch
|
|---|
| 15 | Requires: yum >= 3.2.27
|
|---|
| 16 | #Requires: python-kitchen
|
|---|
| 17 | BuildRequires: python-devel >= 2.4
|
|---|
| 18 | BuildRequires: gettext
|
|---|
| 19 | BuildRequires: intltool
|
|---|
| 20 | Provides: yum-utils-translations = %{version}-%{release}
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | %description
|
|---|
| 24 | yum-utils is a collection of utilities and examples for the yum package
|
|---|
| 25 | manager. It includes utilities by different authors that make yum easier and
|
|---|
| 26 | more powerful to use. These tools include: debuginfo-install,
|
|---|
| 27 | find-repos-of-install, needs-restarting, package-cleanup, repoclosure,
|
|---|
| 28 | repodiff, repo-graph, repomanage, repoquery, repo-rss, reposync,
|
|---|
| 29 | repotrack, show-installed, show-changed-rco, verifytree, yumdownloader,
|
|---|
| 30 | yum-builddep, yum-complete-transaction, yum-config-manager, yum-debug-dump,
|
|---|
| 31 | yum-debug-restore and yum-groups-manager.
|
|---|
| 32 |
|
|---|
| 33 | %package -n yum-updateonboot
|
|---|
| 34 | Summary: Run yum update on system boot
|
|---|
| 35 | Group: System Environment/Base
|
|---|
| 36 | Requires: python, yum >= 2.4
|
|---|
| 37 | Requires(pre): chkconfig
|
|---|
| 38 | Requires(post): chkconfig
|
|---|
| 39 |
|
|---|
| 40 | %description -n yum-updateonboot
|
|---|
| 41 | Runs yum update on system boot. This allows machines that have been turned
|
|---|
| 42 | off for an extended amount of time to become secure immediately, instead of
|
|---|
| 43 | waiting until the next early morning cron job.
|
|---|
| 44 |
|
|---|
| 45 | %package -n yum-plugin-changelog
|
|---|
| 46 | Summary: Yum plugin for viewing package changelogs before/after updating
|
|---|
| 47 | Group: System Environment/Base
|
|---|
| 48 | Provides: yum-changelog = %{version}-%{release}
|
|---|
| 49 | Obsoletes: yum-changelog < 1.1.20-0
|
|---|
| 50 | Conflicts: yum-changelog < 1.1.20-0
|
|---|
| 51 | # changelog requires new update_md.UpdateMetadata() API in 3.2.23
|
|---|
| 52 | Requires: yum >= 3.2.23
|
|---|
| 53 | Requires: python-dateutil
|
|---|
| 54 |
|
|---|
| 55 | %description -n yum-plugin-changelog
|
|---|
| 56 | This plugin adds a command line option to allow viewing package changelog
|
|---|
| 57 | deltas before or after updating packages.
|
|---|
| 58 |
|
|---|
| 59 | %package -n yum-plugin-fastestmirror
|
|---|
| 60 | Summary: Yum plugin which chooses fastest repository from a mirrorlist
|
|---|
| 61 | Group: System Environment/Base
|
|---|
| 62 | Provides: yum-fastestmirror = %{version}-%{release}
|
|---|
| 63 | Obsoletes: yum-fastestmirror < 1.1.20-0
|
|---|
| 64 | Conflicts: yum-fastestmirror < 1.1.20-0
|
|---|
| 65 | Requires: yum >= 3.0
|
|---|
| 66 |
|
|---|
| 67 | %description -n yum-plugin-fastestmirror
|
|---|
| 68 | This plugin sorts each repository's mirrorlist by connection speed
|
|---|
| 69 | prior to downloading packages.
|
|---|
| 70 |
|
|---|
| 71 | %package -n yum-plugin-protectbase
|
|---|
| 72 | Summary: Yum plugin to protect packages from certain repositories.
|
|---|
| 73 | Group: System Environment/Base
|
|---|
| 74 | Provides: yum-protectbase = %{version}-%{release}
|
|---|
| 75 | Obsoletes: yum-protectbase < 1.1.20-0
|
|---|
| 76 | Conflicts: yum-protectbase < 1.1.20-0
|
|---|
| 77 | Requires: yum >= 3.0
|
|---|
| 78 |
|
|---|
| 79 | %description -n yum-plugin-protectbase
|
|---|
| 80 | This plugin allows certain repositories to be protected. Packages in the
|
|---|
| 81 | protected repositories can't be overridden by packages in non-protected
|
|---|
| 82 | repositories even if the non-protected repo has a later version.
|
|---|
| 83 |
|
|---|
| 84 | %package -n yum-plugin-versionlock
|
|---|
| 85 | Summary: Yum plugin to lock specified packages from being updated
|
|---|
| 86 | Group: System Environment/Base
|
|---|
| 87 | Provides: yum-versionlock = %{version}-%{release}
|
|---|
| 88 | Obsoletes: yum-versionlock < 1.1.20-0
|
|---|
| 89 | Conflicts: yum-versionlock < 1.1.20-0
|
|---|
| 90 | Requires: yum >= 3.2.24
|
|---|
| 91 |
|
|---|
| 92 | %description -n yum-plugin-versionlock
|
|---|
| 93 | This plugin takes a set of name/versions for packages and excludes all other
|
|---|
| 94 | versions of those packages (including optionally following obsoletes). This
|
|---|
| 95 | allows you to protect packages from being updated by newer versions,
|
|---|
| 96 | for example.
|
|---|
| 97 |
|
|---|
| 98 | %package -n yum-plugin-tsflags
|
|---|
| 99 | Summary: Yum plugin to add tsflags by a commandline option
|
|---|
| 100 | Group: System Environment/Base
|
|---|
| 101 | Provides: yum-tsflags = %{version}-%{release}
|
|---|
| 102 | Obsoletes: yum-tsflags < 1.1.20-0
|
|---|
| 103 | Conflicts: yum-tsflags < 1.1.20-0
|
|---|
| 104 | Requires: yum >= 3.0
|
|---|
| 105 |
|
|---|
| 106 | %description -n yum-plugin-tsflags
|
|---|
| 107 | This plugin allows you to specify optional transaction flags on the yum
|
|---|
| 108 | command line
|
|---|
| 109 |
|
|---|
| 110 | %package -n yum-plugin-downloadonly
|
|---|
| 111 | Summary: Yum plugin to add downloadonly command option
|
|---|
| 112 | Group: System Environment/Base
|
|---|
| 113 | Provides: yum-downloadonly = %{version}-%{release}
|
|---|
| 114 | Obsoletes: yum-downloadonly < 1.1.20-0
|
|---|
| 115 | Conflicts: yum-downloadonly < 1.1.20-0
|
|---|
| 116 | Requires: yum >= 3.0
|
|---|
| 117 |
|
|---|
| 118 | %description -n yum-plugin-downloadonly
|
|---|
| 119 | This plugin adds a --downloadonly flag to yum so that yum will only download
|
|---|
| 120 | the packages and not install/update them.
|
|---|
| 121 |
|
|---|
| 122 | %package -n yum-plugin-priorities
|
|---|
| 123 | Summary: plugin to give priorities to packages from different repos
|
|---|
| 124 | Group: System Environment/Base
|
|---|
| 125 | Provides: yum-priorities = %{version}-%{release}
|
|---|
| 126 | Obsoletes: yum-priorities < 1.1.20-0
|
|---|
| 127 | Conflicts: yum-priorities < 1.1.20-0
|
|---|
| 128 | Requires: yum >= 3.0
|
|---|
| 129 |
|
|---|
| 130 | %description -n yum-plugin-priorities
|
|---|
| 131 | This plugin allows repositories to have different priorities.
|
|---|
| 132 | Packages in a repository with a lower priority can't be overridden by packages
|
|---|
| 133 | from a repository with a higher priority even if repo has a later version.
|
|---|
| 134 |
|
|---|
| 135 | %package -n yum-plugin-refresh-updatesd
|
|---|
| 136 | Summary: Tell yum-updatesd to check for updates when yum exits
|
|---|
| 137 | Group: System Environment/Base
|
|---|
| 138 | Provides: yum-refresh-updatesd = %{version}-%{release}
|
|---|
| 139 | Obsoletes: yum-refresh-updatesd < 1.1.20-0
|
|---|
| 140 | Conflicts: yum-refresh-updatesd < 1.1.20-0
|
|---|
| 141 | Requires: yum >= 3.0
|
|---|
| 142 | Requires: yum-updatesd
|
|---|
| 143 |
|
|---|
| 144 | %description -n yum-plugin-refresh-updatesd
|
|---|
| 145 | yum-refresh-updatesd tells yum-updatesd to check for updates when yum exits.
|
|---|
| 146 | This way, if you run 'yum update' and install all available updates, puplet
|
|---|
| 147 | will almost instantly update itself to reflect this.
|
|---|
| 148 |
|
|---|
| 149 | %package -n yum-plugin-merge-conf
|
|---|
| 150 | Summary: Yum plugin to merge configuration changes when installing packages
|
|---|
| 151 | Group: System Environment/Base
|
|---|
| 152 | Provides: yum-merge-conf = %{version}-%{release}
|
|---|
| 153 | Obsoletes: yum-merge-conf < 1.1.20-0
|
|---|
| 154 | Conflicts: yum-merge-conf < 1.1.20-0
|
|---|
| 155 | Requires: yum >= 3.0
|
|---|
| 156 |
|
|---|
| 157 | %description -n yum-plugin-merge-conf
|
|---|
| 158 | This yum plugin adds the "--merge-conf" command line option. With this option,
|
|---|
| 159 | Yum will ask you what to do with config files which have changed on updating a
|
|---|
| 160 | package.
|
|---|
| 161 |
|
|---|
| 162 | %package -n yum-plugin-security
|
|---|
| 163 | Summary: Yum plugin to enable security filters
|
|---|
| 164 | Group: System Environment/Base
|
|---|
| 165 | Provides: yum-security = %{version}-%{release}
|
|---|
| 166 | Obsoletes: yum-security < 1.1.20-0
|
|---|
| 167 | Conflicts: yum-security < 1.1.20-0
|
|---|
| 168 | Requires: yum >= 3.2.18
|
|---|
| 169 |
|
|---|
| 170 | %description -n yum-plugin-security
|
|---|
| 171 | This plugin adds the options --security, --cve, --bz and --advisory flags
|
|---|
| 172 | to yum and the list-security and info-security commands.
|
|---|
| 173 | The options make it possible to limit list/upgrade of packages to specific
|
|---|
| 174 | security relevant ones. The commands give you the security information.
|
|---|
| 175 |
|
|---|
| 176 | %package -n yum-plugin-upgrade-helper
|
|---|
| 177 | Summary: Yum plugin to help upgrades to the next distribution version
|
|---|
| 178 | Group: System Environment/Base
|
|---|
| 179 | Provides: yum-upgrade-helper = %{version}-%{release}
|
|---|
| 180 | Obsoletes: yum-upgrade-helper < 1.1.20-0
|
|---|
| 181 | Conflicts: yum-upgrade-helper < 1.1.20-0
|
|---|
| 182 | Requires: yum >= 3.0
|
|---|
| 183 |
|
|---|
| 184 | %description -n yum-plugin-upgrade-helper
|
|---|
| 185 | this plugin allows yum to erase specific packages on install/update based on an additional
|
|---|
| 186 | metadata file in repositories. It is used to simplify distribution upgrade hangups.
|
|---|
| 187 |
|
|---|
| 188 | %package -n yum-plugin-aliases
|
|---|
| 189 | Summary: Yum plugin to enable aliases filters
|
|---|
| 190 | Group: System Environment/Base
|
|---|
| 191 | Provides: yum-aliases = %{version}-%{release}
|
|---|
| 192 | Obsoletes: yum-aliases < 1.1.20-0
|
|---|
| 193 | Conflicts: yum-aliases < 1.1.20-0
|
|---|
| 194 | # Requires args_hook
|
|---|
| 195 | Requires: yum >= 3.2.23
|
|---|
| 196 | Requires: yum-utils-translations = %{version}-%{release}
|
|---|
| 197 |
|
|---|
| 198 | %description -n yum-plugin-aliases
|
|---|
| 199 | This plugin adds the command alias, and parses the aliases config. file to
|
|---|
| 200 | enable aliases.
|
|---|
| 201 |
|
|---|
| 202 | %package -n yum-plugin-list-data
|
|---|
| 203 | Summary: Yum plugin to list aggregate package data
|
|---|
| 204 | Group: System Environment/Base
|
|---|
| 205 | Provides: yum-list-data = %{version}-%{release}
|
|---|
| 206 | Obsoletes: yum-list-data < 1.1.20-0
|
|---|
| 207 | Conflicts: yum-list-data < 1.1.20-0
|
|---|
| 208 | Requires: yum >= 3.0.5
|
|---|
| 209 |
|
|---|
| 210 | %description -n yum-plugin-list-data
|
|---|
| 211 | This plugin adds the commands list- vendors, groups, packagers, licenses,
|
|---|
| 212 | arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and
|
|---|
| 213 | installed-sizes.
|
|---|
| 214 |
|
|---|
| 215 | %package -n yum-plugin-filter-data
|
|---|
| 216 | Summary: Yum plugin to list filter based on package data
|
|---|
| 217 | Group: System Environment/Base
|
|---|
| 218 | Provides: yum-filter-data = %{version}-%{release}
|
|---|
| 219 | Obsoletes: yum-filter-data < 1.1.20-0
|
|---|
| 220 | Conflicts: yum-filter-data < 1.1.20-0
|
|---|
| 221 | Requires: yum >= 3.2.17
|
|---|
| 222 |
|
|---|
| 223 | %description -n yum-plugin-filter-data
|
|---|
| 224 | This plugin adds the options --filter- vendors, groups, packagers, licenses,
|
|---|
| 225 | arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and
|
|---|
| 226 | installed-sizes. Note that each package must match at least one pattern/range in
|
|---|
| 227 | each category, if any were specified.
|
|---|
| 228 |
|
|---|
| 229 | %package -n yum-plugin-tmprepo
|
|---|
| 230 | Summary: Yum plugin to add temporary repositories
|
|---|
| 231 | Group: System Environment/Base
|
|---|
| 232 | Provides: yum-tmprepo = %{version}-%{release}
|
|---|
| 233 | Obsoletes: yum-tmprepo < 1.1.20-0
|
|---|
| 234 | Conflicts: yum-tmprepo < 1.1.20-0
|
|---|
| 235 | Requires: yum >= 3.2.11
|
|---|
| 236 | Requires: createrepo
|
|---|
| 237 |
|
|---|
| 238 | %description -n yum-plugin-tmprepo
|
|---|
| 239 | This plugin adds the option --tmprepo which takes a url to a .repo file
|
|---|
| 240 | downloads it and enables it for a single run. This plugin tries to ensure
|
|---|
| 241 | that temporary repositories are safe to use, by default, by not allowing
|
|---|
| 242 | gpg checking to be disabled.
|
|---|
| 243 |
|
|---|
| 244 | %package -n yum-plugin-verify
|
|---|
| 245 | Summary: Yum plugin to add verify command, and options
|
|---|
| 246 | Group: System Environment/Base
|
|---|
| 247 | Provides: yum-verify = %{version}-%{release}
|
|---|
| 248 | Obsoletes: yum-verify < 1.1.20-0
|
|---|
| 249 | Conflicts: yum-verify < 1.1.20-0
|
|---|
| 250 | Requires: yum >= 3.2.12
|
|---|
| 251 |
|
|---|
| 252 | %description -n yum-plugin-verify
|
|---|
| 253 | This plugin adds the commands verify, verify-all and verify-rpm. There are
|
|---|
| 254 | also a couple of options. This command works like rpm -V, to verify your
|
|---|
| 255 | installation.
|
|---|
| 256 |
|
|---|
| 257 | %package -n yum-plugin-keys
|
|---|
| 258 | Summary: Yum plugin to deal with signing keys
|
|---|
| 259 | Group: System Environment/Base
|
|---|
| 260 | Provides: yum-keys = %{version}-%{release}
|
|---|
| 261 | Obsoletes: yum-keys < 1.1.20-0
|
|---|
| 262 | Conflicts: yum-keys < 1.1.20-0
|
|---|
| 263 | Requires: yum >= 3.2.19
|
|---|
| 264 |
|
|---|
| 265 | %description -n yum-plugin-keys
|
|---|
| 266 | This plugin adds the commands keys, keys-info, keys-data and keys-remove. They
|
|---|
| 267 | allow you to query and remove signing keys.
|
|---|
| 268 |
|
|---|
| 269 | %package -n yum-plugin-remove-with-leaves
|
|---|
| 270 | Summary: Yum plugin to remove dependencies which are no longer used because of a removal
|
|---|
| 271 | Group: System Environment/Base
|
|---|
| 272 | Provides: yum-remove-with-leaves = %{version}-%{release}
|
|---|
| 273 | Obsoletes: yum-remove-with-leaves < 1.1.20-0
|
|---|
| 274 | Conflicts: yum-remove-with-leaves < 1.1.20-0
|
|---|
| 275 | Requires: yum >= 3.2.19
|
|---|
| 276 |
|
|---|
| 277 | %description -n yum-plugin-remove-with-leaves
|
|---|
| 278 | This plugin removes any unused dependencies that were brought in by an install
|
|---|
| 279 | but would not normally be removed. It helps to keep a system clean of unused
|
|---|
| 280 | libraries and packages.
|
|---|
| 281 |
|
|---|
| 282 | %package -n yum-plugin-post-transaction-actions
|
|---|
| 283 | Summary: Yum plugin to run arbitrary commands when certain pkgs are acted on
|
|---|
| 284 | Group: System Environment/Base
|
|---|
| 285 | Provides: yum-post-transaction-actions = %{version}-%{release}
|
|---|
| 286 | Obsoletes: yum-post-transaction-actions < 1.1.20-0
|
|---|
| 287 | Conflicts: yum-post-transaction-actions < 1.1.20-0
|
|---|
| 288 | Requires: yum >= 3.2.19
|
|---|
| 289 |
|
|---|
| 290 | %description -n yum-plugin-post-transaction-actions
|
|---|
| 291 | This plugin allows the user to run arbitrary actions immediately following a
|
|---|
| 292 | transaction when specified packages are changed.
|
|---|
| 293 |
|
|---|
| 294 | %package -n yum-NetworkManager-dispatcher
|
|---|
| 295 | Summary: NetworkManager script which tells yum to check it's cache on network change
|
|---|
| 296 | Group: System Environment/Base
|
|---|
| 297 | Requires: yum >= 3.2.17
|
|---|
| 298 |
|
|---|
| 299 | %description -n yum-NetworkManager-dispatcher
|
|---|
| 300 | This NetworkManager "dispatch script" forces yum to check its cache if/when a
|
|---|
| 301 | new network connection happens in NetworkManager. Note that currently there is
|
|---|
| 302 | no checking of previous data, so if your WiFi keeps going up and down (or you
|
|---|
| 303 | suspend/resume a lot) yum will recheck its cached data a lot.
|
|---|
| 304 |
|
|---|
| 305 | %package -n yum-plugin-rpm-warm-cache
|
|---|
| 306 | Summary: Yum plugin to access the rpmdb files early to warm up access to the db
|
|---|
| 307 | Group: System Environment/Base
|
|---|
| 308 | Provides: yum-rpm-warm-cache = %{version}-%{release}
|
|---|
| 309 | Obsoletes: yum-rpm-warm-cache < 1.1.20-0
|
|---|
| 310 | Conflicts: yum-rpm-warm-cache < 1.1.20-0
|
|---|
| 311 | Requires: yum >= 3.2.19
|
|---|
| 312 |
|
|---|
| 313 | %description -n yum-plugin-rpm-warm-cache
|
|---|
| 314 | This plugin reads the rpmdb files into the system cache before accessing the
|
|---|
| 315 | rpmdb directly. In some cases this should speed up access to rpmdb information
|
|---|
| 316 |
|
|---|
| 317 | %package -n yum-plugin-auto-update-debug-info
|
|---|
| 318 | # Works by searching for *-debuginfo ... so it shouldn't trigger on itself.
|
|---|
| 319 | Summary: Yum plugin to enable automatic updates to installed debuginfo packages
|
|---|
| 320 | Group: System Environment/Base
|
|---|
| 321 | Obsoletes: yum-plugin-auto-update-debuginfo < 1.1.21-0
|
|---|
| 322 | Conflicts: yum-plugin-auto-update-debuginfo < 1.1.21-0
|
|---|
| 323 | Provides: yum-plugin-auto-update-debuginfo = %{version}-%{release}
|
|---|
| 324 | Requires: yum >= 3.2.19
|
|---|
| 325 |
|
|---|
| 326 | %description -n yum-plugin-auto-update-debug-info
|
|---|
| 327 | This plugin looks to see if any debuginfo packages are installed, and if there
|
|---|
| 328 | are it enables all debuginfo repositories that are "children" of enabled
|
|---|
| 329 | repositories.
|
|---|
| 330 |
|
|---|
| 331 | %package -n yum-plugin-show-leaves
|
|---|
| 332 | Summary: Yum plugin which shows newly installed leaf packages
|
|---|
| 333 | Group: System Environment/Base
|
|---|
| 334 | Requires: yum >= 3.2.23
|
|---|
| 335 |
|
|---|
| 336 | %description -n yum-plugin-show-leaves
|
|---|
| 337 | Yum plugin which shows newly installed leaf packages
|
|---|
| 338 | and packages that became leaves after a transaction
|
|---|
| 339 |
|
|---|
| 340 | %package -n yum-plugin-local
|
|---|
| 341 | Summary: Yum plugin to automatically manage a local repo. of downloaded packages
|
|---|
| 342 | Group: System Environment/Base
|
|---|
| 343 | # Who the hell knows what version :)
|
|---|
| 344 | Requires: yum >= 3.2.22
|
|---|
| 345 | Requires: createrepo
|
|---|
| 346 |
|
|---|
| 347 | %description -n yum-plugin-local
|
|---|
| 348 | When this plugin is installed it will automatically copy all downloaded packages
|
|---|
| 349 | to a repository on the local filesystem, and (re)build that repository. This
|
|---|
| 350 | means that anything you've downloaded will always exist, even if the original
|
|---|
| 351 | repo. removes it (and can thus. be reinstalled/downgraded/etc.).
|
|---|
| 352 |
|
|---|
| 353 | %package -n yum-plugin-fs-snapshot
|
|---|
| 354 | Summary: Yum plugin to automatically snapshot your filesystems during updates
|
|---|
| 355 | Group: System Environment/Base
|
|---|
| 356 | Requires: yum >= 3.2.22
|
|---|
| 357 |
|
|---|
| 358 | %description -n yum-plugin-fs-snapshot
|
|---|
| 359 | When this plugin is installed it will automatically snapshot any
|
|---|
| 360 | filesystem that is touched by the packages in a yum update or yum remove.
|
|---|
| 361 |
|
|---|
| 362 | %package -n yum-plugin-ps
|
|---|
| 363 | Summary: Yum plugin to look at processes, with respect to packages
|
|---|
| 364 | Group: System Environment/Base
|
|---|
| 365 | Requires: yum >= 3.2.27
|
|---|
| 366 |
|
|---|
| 367 | %description -n yum-plugin-ps
|
|---|
| 368 | When this plugin is installed it adds the yum command "ps", which allows you
|
|---|
| 369 | to see which running processes are accociated with which packages (and if they
|
|---|
| 370 | need rebooting, or have updates, etc.)
|
|---|
| 371 |
|
|---|
| 372 | %package -n yum-plugin-puppetverify
|
|---|
| 373 | Summary: Yum plugin to add puppet checksums to verify data
|
|---|
| 374 | Group: System Environment/Base
|
|---|
| 375 | Provides: yum-puppetverify = %{version}-%{release}
|
|---|
| 376 | Requires: yum >= 3.2.12
|
|---|
| 377 | Requires: PyYAML >= 3.09
|
|---|
| 378 | Requires: puppet
|
|---|
| 379 |
|
|---|
| 380 | %description -n yum-plugin-puppetverify
|
|---|
| 381 | Supplies checksums for files in packages from puppet's state file.
|
|---|
| 382 |
|
|---|
| 383 | %prep
|
|---|
| 384 | %setup -q
|
|---|
| 385 | %patch0 -p1
|
|---|
| 386 |
|
|---|
| 387 | %install
|
|---|
| 388 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 389 | make DESTDIR=$RPM_BUILD_ROOT install
|
|---|
| 390 | #make -C updateonboot DESTDIR=$RPM_BUILD_ROOT install
|
|---|
| 391 |
|
|---|
| 392 | #%find_lang %name
|
|---|
| 393 |
|
|---|
| 394 | # Plugins to install
|
|---|
| 395 | plugins="\
|
|---|
| 396 | changelog \
|
|---|
| 397 | fastestmirror \
|
|---|
| 398 | protectbase \
|
|---|
| 399 | versionlock \
|
|---|
| 400 | tsflags \
|
|---|
| 401 | downloadonly \
|
|---|
| 402 | priorities \
|
|---|
| 403 | refresh-updatesd \
|
|---|
| 404 | merge-conf \
|
|---|
| 405 | security \
|
|---|
| 406 | upgrade-helper \
|
|---|
| 407 | aliases \
|
|---|
| 408 | list-data \
|
|---|
| 409 | filter-data \
|
|---|
| 410 | tmprepo \
|
|---|
| 411 | verify \
|
|---|
| 412 | keys \
|
|---|
| 413 | remove-with-leaves \
|
|---|
| 414 | post-transaction-actions \
|
|---|
| 415 | rpm-warm-cache \
|
|---|
| 416 | auto-update-debuginfo \
|
|---|
| 417 | show-leaves \
|
|---|
| 418 | local \
|
|---|
| 419 | fs-snapshot \
|
|---|
| 420 | ps \
|
|---|
| 421 | puppetverify \
|
|---|
| 422 | "
|
|---|
| 423 |
|
|---|
| 424 | mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/%{_prefix}/lib/yum-plugins/
|
|---|
| 425 | mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/post-actions
|
|---|
| 426 |
|
|---|
| 427 | cd plugins
|
|---|
| 428 | for plug in $plugins; do
|
|---|
| 429 | install -m 644 $plug/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/
|
|---|
| 430 | install -m 644 $plug/*.py $RPM_BUILD_ROOT/%{_prefix}/lib/yum-plugins/
|
|---|
| 431 | %{__python} -c "import compileall; compileall.compile_dir('$RPM_BUILD_ROOT/%{_prefix}/lib/yum-plugins', 1)"
|
|---|
| 432 | done
|
|---|
| 433 | install -m 644 aliases/aliases $RPM_BUILD_ROOT/%{_sysconfdir}/yum/aliases.conf
|
|---|
| 434 | install -m 644 versionlock/versionlock.list $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/
|
|---|
| 435 | # need for for the ghost in files section of yum-plugin-local
|
|---|
| 436 | mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum.repos.d
|
|---|
| 437 | touch $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/_local.repo
|
|---|
| 438 |
|
|---|
| 439 |
|
|---|
| 440 | %clean
|
|---|
| 441 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 442 |
|
|---|
| 443 | %files
|
|---|
| 444 | # -f %{name}.lang
|
|---|
| 445 | %defattr(-, root, root)
|
|---|
| 446 | %doc README yum-util-cli-template
|
|---|
| 447 | %doc COPYING
|
|---|
| 448 | %doc plugins/README
|
|---|
| 449 | %{_sysconfdir}/bash_completion.d
|
|---|
| 450 | %{_bindir}/debuginfo-install
|
|---|
| 451 | %{_bindir}/find-repos-of-install
|
|---|
| 452 | %{_bindir}/needs-restarting
|
|---|
| 453 | %{_bindir}/package-cleanup
|
|---|
| 454 | %{_bindir}/repoclosure
|
|---|
| 455 | %{_bindir}/repodiff
|
|---|
| 456 | %{_bindir}/repomanage
|
|---|
| 457 | %{_bindir}/repoquery
|
|---|
| 458 | %{_bindir}/repotrack
|
|---|
| 459 | %{_bindir}/reposync
|
|---|
| 460 | %{_bindir}/repo-graph
|
|---|
| 461 | %{_bindir}/repo-rss
|
|---|
| 462 | %{_bindir}/verifytree
|
|---|
| 463 | %{_bindir}/yumdownloader
|
|---|
| 464 | %{_bindir}/yum-builddep
|
|---|
| 465 | %{_bindir}/yum-config-manager
|
|---|
| 466 | %{_bindir}/yum-debug-dump
|
|---|
| 467 | %{_bindir}/yum-groups-manager
|
|---|
| 468 | %{_bindir}/yum-debug-restore
|
|---|
| 469 | %{_bindir}/show-installed
|
|---|
| 470 | %{_bindir}/show-changed-rco
|
|---|
| 471 | %{_sbindir}/yum-complete-transaction
|
|---|
| 472 | %{_sbindir}/yumdb
|
|---|
| 473 | %{_libdir}/
|
|---|
| 474 | %{_mandir}/man1/yum-utils.1
|
|---|
| 475 | %{_mandir}/man1/debuginfo-install.1
|
|---|
| 476 | %{_mandir}/man1/package-cleanup.1
|
|---|
| 477 | %{_mandir}/man1/repo-rss.1
|
|---|
| 478 | %{_mandir}/man1/repoquery.1
|
|---|
| 479 | %{_mandir}/man1/repodiff.1
|
|---|
| 480 | %{_mandir}/man1/reposync.1
|
|---|
| 481 | %{_mandir}/man1/show-changed-rco.1
|
|---|
| 482 | %{_mandir}/man1/show-installed.1
|
|---|
| 483 | %{_mandir}/man1/yum-builddep.1
|
|---|
| 484 | %{_mandir}/man1/yum-debug-dump.1
|
|---|
| 485 | %{_mandir}/man8/yum-complete-transaction.8
|
|---|
| 486 | %{_mandir}/man1/yum-groups-manager.1
|
|---|
| 487 | %{_mandir}/man8/yumdb.8
|
|---|
| 488 | %{_mandir}/man1/yumdownloader.1
|
|---|
| 489 | %{_datadir}/locale/*
|
|---|
| 490 |
|
|---|
| 491 | %files -n yum-updateonboot
|
|---|
| 492 | %defattr(-, root, root)
|
|---|
| 493 | %doc updateonboot/README COPYING
|
|---|
| 494 | #%config(noreplace) %{_sysconfdir}/sysconfig/yum-updateonboot
|
|---|
| 495 | #%{_initrddir}/yum-updateonboot
|
|---|
| 496 |
|
|---|
| 497 | %files -n yum-plugin-changelog
|
|---|
| 498 | %defattr(-, root, root)
|
|---|
| 499 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/changelog.conf
|
|---|
| 500 | %doc COPYING
|
|---|
| 501 | %{_libdir}/yum-plugins/changelog.*
|
|---|
| 502 | %{_mandir}/man1/yum-changelog.1
|
|---|
| 503 | %{_mandir}/man5/yum-changelog.conf.5
|
|---|
| 504 |
|
|---|
| 505 | %files -n yum-plugin-fastestmirror
|
|---|
| 506 | %defattr(-, root, root)
|
|---|
| 507 | %doc COPYING
|
|---|
| 508 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf
|
|---|
| 509 | %{_libdir}/yum-plugins/fastestmirror*.*
|
|---|
| 510 |
|
|---|
| 511 | %files -n yum-plugin-protectbase
|
|---|
| 512 | %defattr(-, root, root)
|
|---|
| 513 | %doc COPYING
|
|---|
| 514 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/protectbase.conf
|
|---|
| 515 | %{_libdir}/yum-plugins/protectbase.*
|
|---|
| 516 |
|
|---|
| 517 | %files -n yum-plugin-versionlock
|
|---|
| 518 | %defattr(-, root, root)
|
|---|
| 519 | %doc plugins/versionlock/README COPYING
|
|---|
| 520 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/versionlock.conf
|
|---|
| 521 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/versionlock.list
|
|---|
| 522 | %{_libdir}/yum-plugins/versionlock.*
|
|---|
| 523 | %{_mandir}/man1/yum-versionlock.1
|
|---|
| 524 | %{_mandir}/man5/yum-versionlock.conf.5
|
|---|
| 525 |
|
|---|
| 526 | %files -n yum-plugin-tsflags
|
|---|
| 527 | %defattr(-, root, root)
|
|---|
| 528 | %doc COPYING
|
|---|
| 529 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/tsflags.conf
|
|---|
| 530 | %{_libdir}/yum-plugins/tsflags.*
|
|---|
| 531 |
|
|---|
| 532 | %files -n yum-plugin-downloadonly
|
|---|
| 533 | %defattr(-, root, root)
|
|---|
| 534 | %doc COPYING
|
|---|
| 535 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/downloadonly.conf
|
|---|
| 536 | %{_libdir}/yum-plugins/downloadonly.*
|
|---|
| 537 |
|
|---|
| 538 | %files -n yum-plugin-priorities
|
|---|
| 539 | %defattr(-, root, root)
|
|---|
| 540 | %doc COPYING
|
|---|
| 541 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/priorities.conf
|
|---|
| 542 | %{_libdir}/yum-plugins/priorities.*
|
|---|
| 543 |
|
|---|
| 544 | %files -n yum-plugin-refresh-updatesd
|
|---|
| 545 | %defattr(-, root, root)
|
|---|
| 546 | %doc COPYING
|
|---|
| 547 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/refresh-updatesd.conf
|
|---|
| 548 | %{_libdir}/yum-plugins/refresh-updatesd.*
|
|---|
| 549 |
|
|---|
| 550 | %files -n yum-plugin-merge-conf
|
|---|
| 551 | %defattr(-, root, root)
|
|---|
| 552 | %doc COPYING
|
|---|
| 553 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/merge-conf.conf
|
|---|
| 554 | %{_libdir}/yum-plugins/merge-conf.*
|
|---|
| 555 |
|
|---|
| 556 | %files -n yum-plugin-security
|
|---|
| 557 | %defattr(-, root, root)
|
|---|
| 558 | %doc COPYING
|
|---|
| 559 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/security.conf
|
|---|
| 560 | %{_libdir}/yum-plugins/security.*
|
|---|
| 561 | %{_mandir}/man8/yum-security.8
|
|---|
| 562 |
|
|---|
| 563 | %files -n yum-plugin-upgrade-helper
|
|---|
| 564 | %defattr(-, root, root)
|
|---|
| 565 | %doc COPYING
|
|---|
| 566 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf
|
|---|
| 567 | %{_libdir}/yum-plugins/upgrade-helper.*
|
|---|
| 568 |
|
|---|
| 569 | %files -n yum-plugin-aliases
|
|---|
| 570 | %defattr(-, root, root)
|
|---|
| 571 | %doc COPYING
|
|---|
| 572 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/aliases.conf
|
|---|
| 573 | %config(noreplace) %{_sysconfdir}/yum/aliases.conf
|
|---|
| 574 | %{_libdir}/yum-plugins/aliases.*
|
|---|
| 575 | %{_mandir}/man1/yum-aliases.1
|
|---|
| 576 |
|
|---|
| 577 | %files -n yum-plugin-list-data
|
|---|
| 578 | %defattr(-, root, root)
|
|---|
| 579 | %doc COPYING
|
|---|
| 580 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/list-data.conf
|
|---|
| 581 | %{_libdir}/yum-plugins/list-data.*
|
|---|
| 582 | %{_mandir}/man1/yum-list-data.1
|
|---|
| 583 |
|
|---|
| 584 | %files -n yum-plugin-filter-data
|
|---|
| 585 | %defattr(-, root, root)
|
|---|
| 586 | %doc COPYING
|
|---|
| 587 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf
|
|---|
| 588 | %{_libdir}/yum-plugins/filter-data.*
|
|---|
| 589 | %{_mandir}/man1/yum-filter-data.1
|
|---|
| 590 |
|
|---|
| 591 | %files -n yum-plugin-tmprepo
|
|---|
| 592 | %defattr(-, root, root)
|
|---|
| 593 | %doc COPYING
|
|---|
| 594 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf
|
|---|
| 595 | %{_libdir}/yum-plugins/tmprepo.*
|
|---|
| 596 |
|
|---|
| 597 | %files -n yum-plugin-verify
|
|---|
| 598 | %defattr(-, root, root)
|
|---|
| 599 | %doc COPYING
|
|---|
| 600 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/verify.conf
|
|---|
| 601 | %{_libdir}/yum-plugins/verify.*
|
|---|
| 602 | %{_mandir}/man1/yum-verify.1
|
|---|
| 603 |
|
|---|
| 604 | %files -n yum-plugin-keys
|
|---|
| 605 | %defattr(-, root, root)
|
|---|
| 606 | %doc COPYING
|
|---|
| 607 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/keys.conf
|
|---|
| 608 | %{_libdir}/yum-plugins/keys.*
|
|---|
| 609 |
|
|---|
| 610 | %files -n yum-NetworkManager-dispatcher
|
|---|
| 611 | %defattr(-, root, root)
|
|---|
| 612 | %doc COPYING
|
|---|
| 613 | /@unixroot/etc/NetworkManager/dispatcher.d/*
|
|---|
| 614 |
|
|---|
| 615 | %files -n yum-plugin-remove-with-leaves
|
|---|
| 616 | %defattr(-, root, root)
|
|---|
| 617 | %doc COPYING
|
|---|
| 618 | %{_libdir}/yum-plugins/remove-with-leaves.*
|
|---|
| 619 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/remove-with-leaves.conf
|
|---|
| 620 |
|
|---|
| 621 | %files -n yum-plugin-post-transaction-actions
|
|---|
| 622 | %defattr(-, root, root)
|
|---|
| 623 | %doc COPYING
|
|---|
| 624 | %{_libdir}/yum-plugins/post-transaction-actions.*
|
|---|
| 625 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/post-transaction-actions.conf
|
|---|
| 626 | %doc plugins/post-transaction-actions/sample.action
|
|---|
| 627 | # Default *.action file dropping dir.
|
|---|
| 628 | %dir %{_sysconfdir}/yum/post-actions
|
|---|
| 629 |
|
|---|
| 630 | %files -n yum-plugin-rpm-warm-cache
|
|---|
| 631 | %defattr(-, root, root)
|
|---|
| 632 | %doc COPYING
|
|---|
| 633 | %{_libdir}/yum-plugins/rpm-warm-cache.*
|
|---|
| 634 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/rpm-warm-cache.conf
|
|---|
| 635 |
|
|---|
| 636 | %files -n yum-plugin-auto-update-debug-info
|
|---|
| 637 | %defattr(-, root, root)
|
|---|
| 638 | %doc COPYING
|
|---|
| 639 | %{_libdir}/yum-plugins/auto-update-debuginfo.*
|
|---|
| 640 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/auto-update-debuginfo.conf
|
|---|
| 641 |
|
|---|
| 642 | %files -n yum-plugin-show-leaves
|
|---|
| 643 | %defattr(-, root, root)
|
|---|
| 644 | %doc COPYING
|
|---|
| 645 | %{_libdir}/yum-plugins/show-leaves.*
|
|---|
| 646 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/show-leaves.conf
|
|---|
| 647 |
|
|---|
| 648 | %files -n yum-plugin-local
|
|---|
| 649 | %defattr(-, root, root)
|
|---|
| 650 | %doc COPYING
|
|---|
| 651 | %ghost %{_sysconfdir}/yum.repos.d/_local.repo
|
|---|
| 652 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/local.conf
|
|---|
| 653 | %{_libdir}/yum-plugins/local.*
|
|---|
| 654 |
|
|---|
| 655 | %files -n yum-plugin-fs-snapshot
|
|---|
| 656 | %defattr(-, root, root)
|
|---|
| 657 | %doc COPYING
|
|---|
| 658 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/fs-snapshot.conf
|
|---|
| 659 | %{_libdir}/yum-plugins/fs-snapshot.*
|
|---|
| 660 | %{_mandir}/man1/yum-fs-snapshot.1
|
|---|
| 661 | %{_mandir}/man5/yum-fs-snapshot.conf.5
|
|---|
| 662 |
|
|---|
| 663 | %files -n yum-plugin-ps
|
|---|
| 664 | %defattr(-, root, root)
|
|---|
| 665 | %doc COPYING
|
|---|
| 666 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/ps.conf
|
|---|
| 667 | %{_libdir}/yum-plugins/ps.*
|
|---|
| 668 |
|
|---|
| 669 | %files -n yum-plugin-puppetverify
|
|---|
| 670 | %defattr(-, root, root)
|
|---|
| 671 | %doc COPYING
|
|---|
| 672 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/puppetverify.conf
|
|---|
| 673 | %{_libdir}/yum-plugins/puppetverify.*
|
|---|
| 674 |
|
|---|
| 675 | %changelog
|
|---|
| 676 | * Wed Jun 05 2013 yd
|
|---|
| 677 | - r639, initial public build.
|
|---|