@ -2,7 +2,7 @@ Summary: PowerEL specific rpm configuration files based upon Red Hat
@@ -2,7 +2,7 @@ Summary: PowerEL specific rpm configuration files based upon Red Hat
Name: powerel-rpm-config
Provides: redhat-rpm-config
Version: 9.1.0
Release: 87%{?dist}
Release: 88%{?dist}
# No version specified.
License: GPL+
Group: Development/System
@ -118,17 +118,20 @@ Patch47: redhat-rpm-config-9.1.0-compressed-kmods-support.patch
@@ -118,17 +118,20 @@ Patch47: redhat-rpm-config-9.1.0-compressed-kmods-support.patch
# ppc64 little endian support
Patch99: redhat-rpm-config-9.1.0-ppc64le.patch
# PowerEL support
Patch1000: powerel-rpm-config-9.1.0.dist.patch
BuildArch: noarch
Requires: coreutils
Requires: perl-srpm-macros
Requires: python-srpm-macros
Requires: rpm >= 4.9.0
Requires: dwz >= 0.4
Requires: zip
Provides: system-rpm-config = %{version}-%{release}
%description
Red Hat specific rpm configuration files.
PowerEL specific rpm configuration files.
%prep
%setup -q -n redhat-rpm-config-%{version}
@ -183,6 +186,8 @@ Red Hat specific rpm configuration files.
@@ -183,6 +186,8 @@ Red Hat specific rpm configuration files.
%patch99 -p2
%patch1000 -p1
%build
%install
@ -192,7 +197,7 @@ make DESTDIR=${RPM_BUILD_ROOT} install
@@ -192,7 +197,7 @@ make DESTDIR=${RPM_BUILD_ROOT} install
install -m 0444 %{SOURCE1} %{SOURCE2} ${RPM_BUILD_ROOT}/usr/lib/rpm/powerel
install -m 0755 %{SOURCE10} %{SOURCE11} ${RPM_BUILD_ROOT}/usr/lib/rpm/powerel
install -m 0755 %{SOURCE30} ${RPM_BUILD_ROOT}/usr/lib/rpm/powerel
ln -s /usr/lib/rpm/powerel/ ${RPM_BUILD_ROOT}/usr/lib/rpm/redhat
ln -s /usr/lib/rpm/redhat/ ${RPM_BUILD_ROOT}/usr/lib/rpm/powerel/
install -D -m 0644 %{SOURCE20} ${RPM_BUILD_ROOT}/usr/lib/rpm/fileattrs/kabi.attr
install -m 0755 %{SOURCE21} ${RPM_BUILD_ROOT}/usr/lib/rpm/kabi.sh