- Unbreak find-requires (#443015)
This commit is contained in:
parent
cb635b65d5
commit
cc05ec1e3d
18
redhat-rpm-config-9.0.3-fix-requires.patch
Normal file
18
redhat-rpm-config-9.0.3-fix-requires.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- find-requires.orig 2008-08-11 09:41:48.000000000 +0300
|
||||
+++ find-requires 2008-08-11 09:42:25.000000000 +0300
|
||||
@@ -106,6 +106,7 @@
|
||||
print $2 ;
|
||||
}
|
||||
}
|
||||
+ (START==2) && /^[A-Za-z]/ { START=3; }
|
||||
/^Version References:$/ { START=2; }
|
||||
(START==2) && /required from/ {
|
||||
sub(/:/, "", $3);
|
||||
@@ -114,7 +115,6 @@
|
||||
(START==2) && (LIBNAME!="") && ($4!="") {
|
||||
print LIBNAME "(" $4 ")'$lib64'";
|
||||
}
|
||||
- /^[A-Za-z]/ { START=3; }
|
||||
'
|
||||
done | sort -u
|
||||
|
@ -1,10 +1,11 @@
|
||||
Summary: Red Hat specific rpm configuration files.
|
||||
Name: redhat-rpm-config
|
||||
Version: 9.0.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL
|
||||
Group: Development/System
|
||||
Source: redhat-rpm-config-%{version}.tar.bz2
|
||||
Patch0: redhat-rpm-config-9.0.3-fix-requires.patch
|
||||
BuildArch: noarch
|
||||
Requires: mktemp
|
||||
# if rpm-build is present (thus building rpms), we need newer for
|
||||
@ -21,6 +22,7 @@ Red Hat specific rpm configuration files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0
|
||||
|
||||
%install
|
||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||
@ -33,6 +35,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_prefix}/lib/rpm/redhat
|
||||
|
||||
%changelog
|
||||
* Mon Aug 11 2008 Panu Matilainen <pmatilai@redhat.com> - 9.0.3-2
|
||||
- Unbreak find-requires (#443015)
|
||||
|
||||
* Tue May 06 2008 Jon Masters <jcm@redhat.com> - 9.0.3-1
|
||||
- Ensure Java Jar files have readable files within.
|
||||
- Remove overwritten config.guess|sub files (testing).
|
||||
|
Loading…
Reference in New Issue
Block a user