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