-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, yesterday I packaged the latest stable version of DokuWiki, and it built well. However, I can't install it: # zypper in dokuwiki Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides /usr/bin/php needed by dokuwiki-2010.11.07-4.1.noarch Solution 1: do not install dokuwiki-2010.11.07-4.1.noarch Solution 2: break dokuwiki by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c] (c): "nothing provides /usr/bin/php" - that's right, and this dependancy is introduced by the build system's auto dependency search :-(. That's because the package contains some PHP cli scripts beginning with "#!/usr/bin/php", so I know where the dependency comes from. The package (spec file) requires apache2-mod_php5 and php5 >= 5.1.2, and the latter package brings along /usr/bin/php - but not as a "provides", obviously. So - how can I package DokuWiki in a way that it is installable? Do I have to package php5 on my own, just because I add a "Provides: /usr/bin/php" in the spec file? Another workaround I found is to package the cli scripts without the first line and to add the shebang line in the %post section of the spec file, but I wouldn't like this, it might turn out error prone... Regards, Werner BTW, the package's page is https://build.opensuse.org/package/show?package=dokuwiki-stable&project=home%3Awerfl -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkzdHIQACgkQk33Krq8b42Pg1wCggfrV9eG8WV7QzlgZp7VD/v4o rykAn2oeaJeI/k90Lg7r2T+CtY0LMCtB =4xwA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org