From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] I: gpgme/gpgme-compat
Date: Wed, 20 Oct 2004 16:40:10 +0400
Message-ID: <20041020124010.GA12780@basalt.office.altlinux.org> (raw)
In-Reply-To: <20041020123244.GD18109@hell.devel.altlinux.ru>
[-- Attachment #1.1: Type: text/plain, Size: 555 bytes --]
On Wed, Oct 20, 2004 at 04:32:44PM +0400, Alexey I. Froloff wrote:
> * Dmitry V. Levin <ldv@> [041020 14:42]:
> > Вот список пакетов, которые были собраны таким образом:
> > ruby-gpgme-0.2-alt1.1
> > seahorse-0.6.3-alt1.1
> > sylpheed-0.9.10-alt2.1
> > sylpheed-claws-0.9.12b-alt1.1
> > tcl-gpgme-1.0.1-alt3.1
> А можно получить diff spec-файла по почте? А то при сборке новой
> версии запись из changelog уйдёт в небытие.
Вот скрипт, который делал это изменение.
Применив его к исходному пакету, можно получить искомый diff.
--
ldv
[-- Attachment #1.2: increbuild --]
[-- Type: text/plain, Size: 807 bytes --]
#!/bin/sh -e
# Usage: hsh --rebuild-prog=path_to_this_script
# install source package
rpmi -i "$@"
# find specfile
specdir="`rpm --eval %_specdir`"
specfile=`ls "$specdir"/*`
[ -f "$specfile" ]
# do libgpgme conversion
subst 's/libgpgme\(-devel\)\?\( >= [0-9.]\+\)\?/libgpgme-compat\1/' "$specfile"
# increment release
subst 's/^release[[:space:]]*:[[:space:]]*\([^[:space:]]\+\)[[:space:]]*$/Release: \1.1/I' "$specfile"
# add changelog entry
d="`LC_TIME=C date '+%a %b %d %Y'`"
n='%|SERIAL?{%{SERIAL}:}|%{VERSION}-%{RELEASE}'
p='ALT QA Team Robot <qa-robot@altlinux.org>'
e='- Updated build dependencies (libgpgme-compat-devel).'
q="* $d $p $n\n"
add_changelog -e "$e" -a "-q --qf '$q'" "$specfile"
# build source package from specfile
exec nice time rpmbuild -bs --nodeps --target=i586 "$specfile"
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-20 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 10:39 Dmitry V. Levin
2004-10-20 12:32 ` Alexey I. Froloff
2004-10-20 12:40 ` Dmitry V. Levin [this message]
2004-10-20 17:29 ` Sergey V Turchin
2004-10-20 17:50 ` Alexey I. Froloff
2004-10-20 17:52 ` Andrey Rahmatullin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041020124010.GA12780@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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