Mailinglist Archive: opensuse-packaging (220 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Re: moving a file and deleting a directory [cricket-1.0.5]
- From: Christian Boltz <opensuse@xxxxxxxxx>
- Date: Tue, 22 Sep 2009 11:17:23 +0200
- Message-id: <200909221117.23877@xxxxxxxxxxxxxxx>
Hello,
on Dienstag, 22. September 2009, doiggl@xxxxxxxxxxxxxxxxxx wrote:
Your %files section contains
%config(noreplace) %{httpd_dir}/*
and this is defined as
%define httpd_dir %{_sysconfdir}/httpd/conf.d/
Since your %files also contains
%{apache_sysconfdir}/conf.d/*
already, removing the %{httpd_dir} line in %files should fix your
problem. You should also remove the %define httpd_dir since this
variable is then no longer needed.
Regards,
Christian Boltz
--
Und wann nimmt das endlich ein Ende? Heute morgen mußte ich mehr als
60 Stück dieser Dinger löschen. Wenn's so weitergeht, kann ich bald
den tausendensten Wurm begrüßen. Soll ich dem vielleicht noch einen
Preis ausloben? [Helga Fischer in suse-linux]
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
on Dienstag, 22. September 2009, doiggl@xxxxxxxxxxxxxxxxxx wrote:
File not found by glob:
/usr/src/packages/BUILDROOT/cricket-1.0.5-21.1.x86_64/etc/httpd/conf.
d/* File must begin with "/": %{apache_sysconfdir}/conf.d/*
System halted.
Am I correct in that I have to remark a line out ,if so which one.
cricket.spec
https://build.opensuse.org/package/edit_file?file=cricket.spec&packag
e=cricket-6.0.el5.rf&project=home%3Adoiggl
Your %files section contains
%config(noreplace) %{httpd_dir}/*
and this is defined as
%define httpd_dir %{_sysconfdir}/httpd/conf.d/
Since your %files also contains
%{apache_sysconfdir}/conf.d/*
already, removing the %{httpd_dir} line in %files should fix your
problem. You should also remove the %define httpd_dir since this
variable is then no longer needed.
Regards,
Christian Boltz
--
Und wann nimmt das endlich ein Ende? Heute morgen mußte ich mehr als
60 Stück dieser Dinger löschen. Wenn's so weitergeht, kann ich bald
den tausendensten Wurm begrüßen. Soll ich dem vielleicht noch einen
Preis ausloben? [Helga Fischer in suse-linux]
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |