ALT Linux Bugzilla
– Attachment 2509 Details for
Bug 14988
[patch] Тест гадает о имени source-пакета. Лучше спросить о нём у .rpm
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
do-not-guess-buildroot-name.patch
do-not-guess-buildroot-name.patch (text/plain), 646 bytes, created by
Mikhail Gusarov
on 2008-03-19 00:52:42 MSK
(
hide
)
Description:
do-not-guess-buildroot-name.patch
Filename:
MIME Type:
Creator:
Mikhail Gusarov
Created:
2008-03-19 00:52:42 MSK
Size:
646 bytes
patch
obsolete
>--- test.old 2008-03-07 10:36:26 +0300 >+++ test 2008-03-19 00:37:49 +0300 >@@ -1,15 +1,7 @@ > #!/bin/bash >-# we have no $REPOCOP_PKG_SRC_NAME yet, so try to guess it from the source rpm string >-srcname= >-if [ "${REPOCOP_PKG_SOURCEPKG%-$REPOCOP_PKG_RELEASE}" != "$REPOCOP_PKG_SOURCEPKG" ]; then >- srcname=${REPOCOP_PKG_SOURCEPKG%-$REPOCOP_PKG_RELEASE} >- if [ "${srcname%-$REPOCOP_PKG_VERSION}" != "$srcname" ]; then >- srcname=${srcname%-$REPOCOP_PKG_VERSION} >- else >- srcname=${srcname%[-0-9.]*} >- fi >-fi >-################ >+ >+srcname=`rpmquery --queryformat '%{Name}' -p $REPOCOP_PKG` >+ > STATUS=ok > declare -a MESSAGE > i=0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14988
: 2509