13 lines
770 B
Diff
13 lines
770 B
Diff
diff -Nru autospec-1.5.0.orig//plugins/pck-update.in autospec-1.5.0/plugins/pck-update.in
|
|
--- autospec-1.5.0.orig//plugins/pck-update.in 2010-08-02 17:29:37.430222332 +0200
|
|
+++ autospec-1.5.0/plugins/pck-update.in 2010-08-02 17:30:44.363341447 +0200
|
|
@@ -2353,7 +2353,7 @@
|
|
buildreq=libpython-devel
|
|
else
|
|
# unidentified requirement
|
|
- buildreq=`rpm -q $req 2>/dev/null | sed "s|\(.*\)-[^-]*-[^-]*|\1|"`
|
|
+ buildreq=`rpm -q --whatprovides $req 2>/dev/null | sed "s|\(.*\)-[^-]*-[^-]*|\1|"`
|
|
[ "$buildreq" ] || echo "#$req: not found; what is this?" >> $frequires
|
|
fi
|
|
if [ "${buildreq}" -a "${buildreq/%-devel/}" = "${buildreq}" ]; then
|