From: Alexey Morozov <alex-altlinux@idisys.iae.nsk.su> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] Re: Q: E: python-module-PyLTXML-1.3-alt2.src.rpm rejected from incoming Date: Fri, 11 Feb 2005 19:13:46 +0600 Message-ID: <20050211131346.GQ10142@pyro.hopawar.private.net> (raw) In-Reply-To: <420CA46E.8060108@avalon.ru> [-- Attachment #1: Type: text/plain, Size: 1487 bytes --] On Fri, Feb 11, 2005 at 03:26:22PM +0300, Dimitry V. Ketov wrote: > >>>error: line 2: Dependency tokens must not contain '%<=>' symbols: > >>>Provides: python2.3-module-PyLTXML = %version-%release > >>И как это понимать? > >Макросы не раскрылись. > Ничего не понимаю (с) Колобки > > --- Где грабли? --- +%define version 1.3 +%define release alt2 > %setup_python_module PyLTXML > > Name: %{packagename} -Version: 1.3 +Version: %version -Release: alt2 +Release: %release > License: GPL > Group: Development/Python > Summary: Python bindings for LT XML > > Obsoletes: PyLTXML > Provides: PyLTXML = %{version} +BuildPreReq: rpm-build-python >= 0.20-alt1 ... > %install -%__python setup.py install \ - --root=%{buildroot} +CFLAGS="%optflags" %__python setup.py \ + install --optimize=2 \ + --root=%buildroot \ + --record=INSTALLED_FILES -%files +%files -f INSTALLED_FILES > %doc 00README -%{_libdir}/python%{__python_version}/site-packages/%{modulename} (к тому же, есть макрос %python_sitelibdir). Вообще, я осознаю, что необходимость определения %version и %release ДО вызова %setup_python_module больше напоминает багу. К тому же, я не вполне уверен, что это так уж необходимо :-). Можете попробовать обратиться ко мне по jabber, я попытаюсь пересобрать ваш пакет в балабановском хэшере, и тогда он точно пройдёт :-) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-02-11 13:13 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-02-11 9:48 ` [devel] " Dimitry V. Ketov 2005-02-11 10:11 ` [devel] " Michael Shigorin 2005-02-11 12:26 ` Dimitry V. Ketov 2005-02-11 13:13 ` Alexey Morozov [this message] 2005-02-11 18:29 ` Dimitry V. Ketov 2005-02-11 19:08 ` Alexey Morozov 2005-02-12 13:32 ` Dimitry V. Ketov 2005-02-13 10:14 ` Alexey Morozov 2005-02-11 18:38 ` Dmitry V. Levin
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=20050211131346.GQ10142@pyro.hopawar.private.net \ --to=alex-altlinux@idisys.iae.nsk.su \ --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