|
Last change
on this file since 1306 was 937, checked in by Silvan Scherrer, 9 years ago |
|
spec: yum-plugin-replace: Release version 0.2.7-1.
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | Name: yum-plugin-replace
|
|---|
| 2 | Version: 0.2.7
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: Package Replacement Plugin for Yum
|
|---|
| 5 |
|
|---|
| 6 | Group: System Environment/Base
|
|---|
| 7 | License: GPL
|
|---|
| 8 | URL: https://github.com/iuscommunity/yum-plugin-replace
|
|---|
| 9 | Source0: https://github.com/iuscommunity/%{name}/archive/%{version}.tar.gz
|
|---|
| 10 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|---|
| 11 | BuildArch: noarch
|
|---|
| 12 |
|
|---|
| 13 | Requires: yum
|
|---|
| 14 |
|
|---|
| 15 | %description
|
|---|
| 16 | This plugin enables the ability to replace an installed package, with another
|
|---|
| 17 | package that provides the same thing. It was developed specifically for the
|
|---|
| 18 | IUS Community Project whose packages have alternative names as to not
|
|---|
| 19 | automatically upgrade stock packages. They also do not Obsolete the packages
|
|---|
| 20 | they provide, therefore making upgrading a little bit more tedious. For
|
|---|
| 21 | example upgrading 'mysql' to 'mysql50' or 'mysql51' requires first
|
|---|
| 22 | uninstalling 'mysql' and then installing the alternate package name.
|
|---|
| 23 |
|
|---|
| 24 | %prep
|
|---|
| 25 | %setup -q
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | %build
|
|---|
| 29 | # pass
|
|---|
| 30 |
|
|---|
| 31 | %install
|
|---|
| 32 | rm -rf %{buildroot}
|
|---|
| 33 | %{__mkdir} -p %{buildroot}%{_sysconfdir}/yum/pluginconf.d/ \
|
|---|
| 34 | %{buildroot}%{_prefix}/lib/yum-plugins/
|
|---|
| 35 |
|
|---|
| 36 | %{__install} -m 0644 ./etc/yum/pluginconf.d/replace.conf \
|
|---|
| 37 | %{buildroot}%{_sysconfdir}/yum/pluginconf.d/
|
|---|
| 38 | %{__install} -m 0644 ./lib/yum-plugins/replace.py \
|
|---|
| 39 | %{buildroot}%{_prefix}/lib/yum-plugins/
|
|---|
| 40 |
|
|---|
| 41 | %clean
|
|---|
| 42 | rm -rf %{buildroot}
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 | %files
|
|---|
| 46 | %defattr(-,root,root,-)
|
|---|
| 47 | %doc README LICENSE ChangeLog
|
|---|
| 48 | %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/replace.conf
|
|---|
| 49 | %{_prefix}/lib/yum-plugins/replace.py*
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 | %changelog
|
|---|
| 54 | * Fri Jan 27 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.2.7-1
|
|---|
| 55 | - initial build
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.