diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index cebc424..4f796a8 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,10 +1,11 @@ Summary: Red Hat specific rpm configuration files. Name: redhat-rpm-config Version: 7.3.94 -Release: 1 +Release: 1b License: GPL Group: Development/System Source: redhat-rpm-config-%{version}.tar.gz +Source1: redhat-rpm-config-7.3.94-s390.patch BuildArch: noarch Requires: rpmbuild(VendorConfig) <= 4.1 BuildRoot: %{_tmppath}/%{name}-root @@ -18,6 +19,7 @@ Red Hat specific rpm configuration files. rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/rpm ( cd ${RPM_BUILD_ROOT}%{_prefix}/lib/rpm; tar xzf %{SOURCE0}; mv %{name}-%{version} redhat; rm -f redhat/*.spec ) +( cd ${RPM_BUILD_ROOT}%{_prefix}/lib/rpm/redhat && patch -p1 < %{SOURCE1} ) %clean rm -rf ${RPM_BUILD_ROOT}