ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Как добавить новую запись в changelog пакета pecl-perl?
Date: Fri, 30 Aug 2013 13:16:02 +0400
Message-ID: <20130830091601.GA11675@imap.altlinux.org> (raw)
In-Reply-To: <20130830072956.GA16194@mail.truecrux.org>

On Fri, Aug 30, 2013 at 11:29:56AM +0400, Vladimir Lettiev wrote:
> Сабж^W Может кто-нибудь рассказать, что такое шаблон спека и как с этим
> бороться?

specsubst в этом пакете позволяет делать
 $ git.alt task add rebuild pecl-perl
при обновлении php.
 
А вот если версия php не поменялась, такой rebuild не сработает.
Значит, как-то так:

--- a/pecl-perl.spec
+++ b/pecl-perl.spec
@@ -3,7 +3,7 @@

 Name: pecl-%pecl_name
 Version: 1.0.1
-Release: alt1.%php5_version.%php5_release
+Release: alt2.%php5_version.%php5_release
 # see commit a3d7db22eb7964ea9cb39ea2f866d10df26655d4
 # of git://github.com/do-aki/php-ext-perl.git
 Patch0: %name-1.0.1-alt-fix_php5.4.patch
@@ -58,6 +58,9 @@ phpize
 * %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release
 - Rebuild with php5-%php5_version-%php5_release

+* Fri Aug 30 2013 Vladimir Lettiev <crux@altlinux.ru> 1.0.1-alt2.5.3.25.20130509.alt1
+- rebuilt for perl-5.18.1
+
 * Tue May 21 2013 Aleksey Avdeev <solo@altlinux.ru> 1.0.1-alt1.5.3.25.20130509.alt1
 - New version: 1.0.1
 
 
История, конечно, получится странная, но от этого никуда не денешься.

C другой стороны, версию perl можно добавить куда-нибудь в release, чтобы
можно было делать task rebuild и при обновлении perl тоже.

-- 
glebfm


  reply	other threads:[~2013-08-30  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30  7:29 Vladimir Lettiev
2013-08-30  9:16 ` Gleb Fotengauer-Malinovskiy [this message]
2013-08-30  9:42   ` Vladimir Lettiev

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=20130830091601.GA11675@imap.altlinux.org \
    --to=glebfm@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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