[opensuse-packaging] need help with bugzilla 3.4.1 .spec file
Hello, I am trying to compile the bugzilla 3.4.1x series The last compile attempt shows these errors. warning: group apache does not exist - using root ... running 01-check-debuginfo ... testing for empty debuginfo packages ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist bugzilla-doc-build-3.4.1-24.1.noarch.rpm: directories not owned by a package: - /usr/share/bugzilla/docs bugzilla-doc-3.4.1-24.1.noarch.rpm: directories not owned by a package: - /usr/share/bugzilla/docs bugzilla: "/etc/httpd/conf.d/bugzilla.conf" is not allowed anymore in SuSE Linux. bugzilla-3.4.1-24.1.noarch.rpm: directories not owned by a package: - /etc/httpd - /etc/httpd/conf.d - /usr/share/bugzilla/extensions - /usr/share/bugzilla/lib System halted. So far I added in to the specfile 1. Fix warning 'warning: group apache does not exist - using root' BuildRequires: pwdutils , apache2-devel Requires: apache2 %{apache_mmn} %pre id apache >/dev/null 2>&1 if [ $? -ne 0 ]; then /usr/sbin/groupadd apache /usr/sbin/useradd -r -d %{_libdir}/%{name} -c "apache id" apache fi 2. set ownership as directories not owned by a package /usr/share/bugzilla/extensions /usr/share/bugzilla/lib /usr/share/bugzilla/docs Set to in %files section. Question: Is this the correct syntax to use ? %{buildroot}/usr/share/bugzilla/extensions %{buildroot}/usr/share/bugzilla/lib %{buildroot}/usr/share/bugzilla/docs 3. What should be done with these entries as they are directories not owned by a package ? - /etc/httpd - /etc/httpd/conf.d 4. How can this line be fixed, where should the file be moved to ? bugzilla: "/etc/httpd/conf.d/bugzilla.conf" is not allowed anymore in SuSE Linux Specfile -> https://build.opensuse.org/package/view_file?file=bugzilla.spec&package=Bugzilla&project=home%3Adoiggl Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=Bugzilla&project=home%3Adoiggl&repository=openSUSE_Factory Any help appreciated. Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Andreas Jaeger
-
doiggl@velocitynet.com.au
-
Philipp Thomas