[opensuse-packaging] how do I reference a filename in the files tab section of a package in obs

Hello How do I reference a file in obs so I can manipuiate it ? For example a filename in the files tab section of a package [1]. I may need to copy the file to a directory location or manipulate the file in some way. e.g drupal.conf Thanks [1] https://build.opensuse.org/package/files?package=drupal&project=home%3Adoiggl -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Thu, 02 Sep 2010 01:12:56 +1000 <doiggl@velocitynet.com.au> wrote:
Hello How do I reference a file in obs so I can manipuiate it ?
For example a filename in the files tab section of a package [1]. I may need to copy the file to a directory location or manipulate the file in some way. e.g drupal.conf
Thanks
[1] https://build.opensuse.org/package/files?package=drupal&project=home%3Adoiggl Hi Do you mean edit the file? There is an option in the WEB UI to the right to view/edit. Else use osc from the command line and edit locally before committing back.
-- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default up 11 days 17:24, 4 users, load average: 0.33, 0.16, 0.11 GPU GeForce 8600 GTS Silent - Driver Version: 256.53 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Thu, Sep 02, 2010 at 01:12:56AM +1000, doiggl@velocitynet.com.au wrote:
Hello How do I reference a file in obs so I can manipuiate it ?
For example a filename in the files tab section of a package [1]. I may need to copy the file to a directory location or manipulate the file in some way. e.g drupal.conf
If you mean at build time, then like this, which the spec file already does: Source1: drupal.conf ... cp -pr %SOURCE1 %{buildroot}%{_sysconfdir}/apache2/conf.d
https://build.opensuse.org/package/files?package=drupal&project=home%3Adoiggl -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu

Thanks. Another question copy/rename file query along same lines. Question a).How can I copy and rename the file dot.config from [1] to /usr/src/packages/BUILD/reiser4-2.6.35.4/linux-obj/.config ? This is just before the compiliataion starts on line 630. See last log[2] [1] https://build.opensuse.org/package/files?package=reiser4&project=home%3Adoiggl [2] from line 630 on log [3] [3] full last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=reiser4&project=home%3Adoiggl&repository=openSUSE_11.3 . . partial content + make silentoldconfig -C /usr/src/packages/BUILD/reiser4-2.6.35.4/linux-2.6.35 O=/usr/src/packages/BUILD/reiser4-2.6.35.4/linux-obj make: Entering directory `/usr/src/packages/BUILD/reiser4-2.6.35.4/linux-2.6.35' HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/basic/hash GEN /usr/src/packages/BUILD/reiser4-2.6.35.4/linux-obj/Makefile HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/x86/Kconfig * * Restart config... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
Malcolm
-
Martin Vidner