[opensuse-packaging] Confusion with spec file
Aloha all, I have been having issues for quite some time now trying to package my beloved bongo on >=11.0. It goes fine on 10.3 but on anything newer I get: + exit 0 ... checking for files with abuild user/group ... running 00-check-install-rpms ... installing all built rpms Preparing packages for installation... bongo-snapshot-debuginfo-0.4.0svn1009-1.1 bongo-snapshot-debugsource-0.4.0svn1009-1.1 libbongo-snapshot-import-0.4.0svn1009-1.1 bongo-snapshot-data-0.4.0svn1009-1.1 libbongo-snapshot-0.4.0svn1009-1.1 python-bongo-snapshot-0.4.0svn1009-1.1 libbongo-snapshot-dev-0.4.0svn1009-1.1 bongo-snapshot-0.4.0svn1009-1.1 chown: invalid user: `bongo' bongo-snapshot-mta-0.4.0svn1009-1.1 bongo-snapshot-web-0.4.0svn1009-1.1 ... 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) E: bongo-snapshot 64bit-portability-issue src/libs/cal/bongo-cal-object.c:262 E: bongo-snapshot 64bit-portability-issue src/libs/cal/bongo-import-tz.c:41 E: bongo-snapshot 64bit-portability-issue src/libs/msgapi/msgcollector.c:435 My spec file has: %pre #Add the bongo user & group /usr/sbin/groupadd -r bongo 2> /dev/null || : /usr/sbin/useradd -r -g bongo -s /bin/false -c "Bongo Mail daemon" -d /etc/bongo bongo 2> /dev/null || : %post #Ensure that the data directory has the correct ownership permissions chown -R bongo /var/bongo %fillup_only bongo %preun %{stop_on_removal} bongo %postun %{insserv_cleanup} Is this correct? Many thanks for your help. Andy -- Andrew Wafaa, openSUSE Member: FunkyPenguin. openSUSE: Get It, Discover It, Create It at http://www.opensuse.org awafaa@opensuse.org | http://www.wafaa.eu -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (6)
-
Andrew Wafaa
-
Cristian Rodríguez
-
Jan-Simon Möller
-
Philipp Thomas
-
Philipp Thomas
-
Stanislav Brabec