[opensuse-packaging] How to package two filelists?
Wednesday 07 April 2010 Hello. I build Python program package. Running 'python setup.py install --record-rpm=INSTALLED_FILES' I got the first list. With '%find_lang %{name}' macro I got the second one. In %files section I can use only one list, '%files -f INSTALLED_FILES' or '%files -f %{name}.lang'. How to package the second filelist? -- WBR, Kyrill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 07 April 2010 10:40:46 Kyrill Detinov wrote:
Wednesday 07 April 2010
Hello.
I build Python program package. Running 'python setup.py install --record-rpm=INSTALLED_FILES' I got the first list. With '%find_lang %{name}' macro I got the second one.
In %files section I can use only one list, '%files -f INSTALLED_FILES' or '%files -f %{name}.lang'.
How to package the second filelist?
Doesn't the following work? %files -f INSTALLED_FILES -f %{name}.lang Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Le mercredi 07 avril 2010, à 10:42 +0200, Andreas Jaeger a écrit :
On Wednesday 07 April 2010 10:40:46 Kyrill Detinov wrote:
Wednesday 07 April 2010
Hello.
I build Python program package. Running 'python setup.py install --record-rpm=INSTALLED_FILES' I got the first list. With '%find_lang %{name}' macro I got the second one.
In %files section I can use only one list, '%files -f INSTALLED_FILES' or '%files -f %{name}.lang'.
How to package the second filelist?
Doesn't the following work? %files -f INSTALLED_FILES -f %{name}.lang
It works with recent versions of rpm (since openSUSE 11.2, iirc). For earlier versions, just do this in %install: cat INSTALLED_FILES %{name}.lang > full-list And then: %files -f full-list Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Wednesday 07 April 2010 On Wednesday 07 April 2010 12:44:25 Vincent Untz wrote:
Doesn't the following work? %files -f INSTALLED_FILES -f %{name}.lang
It works with recent versions of rpm (since openSUSE 11.2, iirc). For earlier versions, just do this in %install: cat INSTALLED_FILES %{name}.lang > full-list
And then: %files -f full-list
Yes. '%files -f INSTALLED_FILES -f %{name}.lang' doesn't work in openSUSE 11.1. Now OK. Thanks. -- WBR, Kyrill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-04-07 12:40:46 +0400, Kyrill Detinov wrote:
I build Python program package. Running 'python setup.py install --record-rpm=INSTALLED_FILES' I got the first list. With '%find_lang %{name}' macro I got the second one.
In %files section I can use only one list, '%files -f INSTALLED_FILES' or '%files -f %{name}.lang'.
How to package the second filelist?
%find_lang supports a 2nd parameter to specify the filename it should put the list into. hth darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Andreas Jaeger
-
Kyrill Detinov
-
Marcus Rueckert
-
Vincent Untz