I started to package php5-pear-log, that was removed from the openSUSE base distribution, in the build service in the repository server:php:applications. (https://build.opensuse.org/project/show?project=server:php:applications) When building the package, the following warning is issued (local build, using osc 0.120): running changelog2spec --target rpm --file /home/richard/packages/osc/server:php:applications/php5-pear-log/php5-pear- log.spec Warning: spec file parser line 37: can't expand %(...) Warning: spec file parser line 40: can't expand %(...) Warning: spec file parser line 41: can't expand %(...) Warning: spec file parser line 48: can't expand %(...) Warning: spec file parser line 88: can't expand %(...) Warning: spec file parser line 89: can't expand %(...) Warning: spec file parser line 90: can't expand %(...) Warning: spec file parser line 91: can't expand %(...) Warning: spec file parser line 92: can't expand %(...) Warning: spec file parser line 93: can't expand %(...) and some more of those lines. The variable that those lines have in common is %{peardir}. This variable is defined at the top of the spec file. The definition is as follows: %define peardir %(pear config-get php_dir 2> /dev/null) The variable gets defined nicely, as in the end the build of spec file results in an src.rpm and binary rpm. Is this a deficiency in the changelog2spec file tool? -- Richard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org