* Re: [devel] [cyber] repocop-patch +1 -32 (1525)
@ 2008-12-07 8:50 ` Michael Shigorin
2008-12-07 17:36 ` Anton Farygin
0 siblings, 1 reply; 3+ messages in thread
From: Michael Shigorin @ 2008-12-07 8:50 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
On Sun, Dec 07, 2008 at 06:56:48AM +0000, repocop wrote:
> 32 repocop-patches REMOVED from the list
Мож кому ещё пригодится велосипедик на скору руку...
rpm -i SRPMS/enca-1.9-alt3.src.rpm
cd ~/RPM/SPECS
P http://repocop.altlinux.org/pub/repocop/reports/diff/by-acl/mike/enca-1.9-alt3.diff
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: P --]
[-- Type: text/plain, Size: 52 bytes --]
#!/bin/sh
[ -n "$1" ] && wget -O - "$1" | patch -p1
[-- Attachment #3: rebuild --]
[-- Type: text/plain, Size: 605 bytes --]
#!/bin/sh
# build spec or src.rpm with hasher
hsh_build()
{
nice time hsh $HSHARGS \
--apt-conf="${APTCONF:=/etc/apt/apt.conf}" \
"${WORKDIR:=$HOME/hasher/tmpfs}" \
"$@" \
&& echo rpm --resign $@ \
&& echo rsync -Pav $@ incoming:/incoming/Sisyphus/
}
rpmbs()
{
rpm -bs --nodeps "$1" \
| sed -ns 's/^.*: \(.*\.src\.rpm\)$/\1/p'
}
fatal()
{
echo "$0: error: $*" >&2
exit 1
}
while [ $# -gt 0 ]; do
case "$1" in
*.spec) hsh_build `rpmbs "$1"`; shift;;
*.src.rpm) hsh_build "$1"; shift;;
*) fatal "$1 is neither src.rpm nor spec file";;
esac
done
#find "$WORKDIR/repo" -name '*.rpm'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] [cyber] repocop-patch +1 -32 (1525)
2008-12-07 8:50 ` [devel] [cyber] repocop-patch +1 -32 (1525) Michael Shigorin
@ 2008-12-07 17:36 ` Anton Farygin
2008-12-07 21:00 ` Michael Shigorin
0 siblings, 1 reply; 3+ messages in thread
From: Anton Farygin @ 2008-12-07 17:36 UTC (permalink / raw)
To: ALT Linux Team development discussions
Michael Shigorin пишет:
> On Sun, Dec 07, 2008 at 06:56:48AM +0000, repocop wrote:
>> 32 repocop-patches REMOVED from the list
>
> Мож кому ещё пригодится велосипедик на скору руку...
>
> rpm -i SRPMS/enca-1.9-alt3.src.rpm
> cd ~/RPM/SPECS
> P http://repocop.altlinux.org/pub/repocop/reports/diff/by-acl/mike/enca-1.9-alt3.diff
Раз уж так, то может быть и recode заберёшь ?
Он только для enca по большей части и нужен.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] [cyber] repocop-patch +1 -32 (1525)
2008-12-07 17:36 ` Anton Farygin
@ 2008-12-07 21:00 ` Michael Shigorin
0 siblings, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2008-12-07 21:00 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sun, Dec 07, 2008 at 08:36:36PM +0300, Anton Farygin wrote:
> >Мож кому ещё пригодится велосипедик на скору руку...
> >rpm -i SRPMS/enca-1.9-alt3.src.rpm
> >cd ~/RPM/SPECS
(или cd ~/git/repo)
> >P http://repocop.altlinux.org/pub/repocop/reports/diff/by-acl/mike/enca-1.9-alt3.diff
> Раз уж так, то может быть и recode заберёшь ?
> Он только для enca по большей части и нужен.
Ну давай. Кстати, recode ещё годится UCS2 превращать во что-нить
более читабельное (при заглядывании в дампы gammu полезно).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-07 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-07 8:50 ` [devel] [cyber] repocop-patch +1 -32 (1525) Michael Shigorin
2008-12-07 17:36 ` Anton Farygin
2008-12-07 21:00 ` Michael Shigorin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git