ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Не отрабатывают условия в спеке
Date: Wed, 21 Aug 2019 13:14:37 +0700
Message-ID: <b7a02e67-5def-36b8-b51b-4fb320d20bde@ya.ru> (raw)
In-Reply-To: <20190820184817.GA31055@altlinux.org>

21.08.2019 1:48, Dmitry V. Levin пишет:
> On Wed, Aug 21, 2019 at 01:38:34AM +0700, Антон Мидюков wrote:
>> Здравствуйте
>>
>> Нужен свежий взгляд на проблему.
>>
>> Метапакеты openscada, openscada-visStation, openscada-server,
>> openscada-plc лишились зависимостей после коммита mike@:
>>
>> http://git.altlinux.org/gears/o/openscada.git?p=openscada.git;a=commitdiff;h=927daf4ebebe152df9c2898c1db6ff97e6307c8c
>>
>> Почему не отрабатывают такие условия в спеке?
>>
>> %{?_enabled_DBArch:Requires: %name-Archive.DBArch = %EVR}
> Там в спеке эта опечатка сделана 130 раз, требуется
> $ sed -i s/_enabled_/_enable_/ openscada.spec

Я первым делом все их исправил, но решил проверить отработку условий на 
BuildRequires, так как не надо было ждать, пока соберётся.

-%if_enabled MySQL
-BuildRequires: libMySQL-devel
-%endif
-%if_enabled FireBird
-BuildRequires: firebird-devel
-%endif
-%if_enabled PostgreSQL
-BuildRequires: postgresql-devel
-%endif
-%if_enabled System
-BuildRequires: libsensors3-devel
-%endif
-%if_enabled SNMP
-BuildRequires: libnet-snmp-devel
-%endif
-%if_enabled Comedi
-BuildRequires: libcomedi-devel
-%endif
+%{?_enable_MySQL:BuildRequires: libMySQL-devel}
+%{?_enable_FireBird:BuildRequires: firebird-devel}
+%{?_enable_PostgreSQLL:BuildRequires: postgresql-devel}
+%{?_enable_System:BuildRequires: libsensors3-devel}
+%{?_enable_SNMP:BuildRequires: libnet-snmp-devel}
+%{?_enable_Comedi:BuildRequires: libcomedi-devel}

И вот они не отрабатывали. И только сейчас увидел опечатку у себя: 
PostgreSQLL

Получается, сам себя заморочил.

Пакет исправленный в Сизиф уже отправил. Спасибо :-)

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>



      parent reply	other threads:[~2019-08-21  6:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-20 18:38 Антон Мидюков
2019-08-20 18:48 ` Dmitry V. Levin
2019-08-20 19:05   ` Michael Shigorin
2019-08-27  8:03     ` Sergey V Turchin
2019-08-21  6:14   ` Антон Мидюков [this message]

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=b7a02e67-5def-36b8-b51b-4fb320d20bde@ya.ru \
    --to=midyukov-anton@ya.ru \
    --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