> newstructure.txt each time we have > an update. But we'd really like to directly include > an external file, something > like: > %pre > ... > cat > newstructure.txt << @EOF > %include db/newstructure.txt > @EOF > ... You can put it in the file *.spec.im and then use preporcessor, sed, awk, whatever you like to generate *.spec file from *.spec.in. Nothing rpm specific, just scipting Valery > > Is something like this possible with RPM? We can't > use files from %files because > we are at %pre and we can't use %post because then > the new application code is > already installed. > > TIA, > Dick > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com