Hello,
You define the variable to the verbatim string "`/bin/hostname -s`". In the scripts this is substituted for the output of /bin/hostname -s, but it fails in the %files section.
But the real problem is somewhere else -- why do you need to store the build host name in the package?
i package some server-tools which have to be installed on this individual folder cause control domain of server points to this document-root
But you do realize that such package will only work on the machine where you build it? There must be a number of ways how to avoid this kind of packaging.
I use similar specs for a time. Variables in %install or %post sections work on each maschine where i installed it. if there is no way to use my variable in %files section i have to install on hard linked folder and copy/remove in %post and %postun section. not very nice... why %files is different to %install etc? Andre --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org