Looking in BUILDROOT:
ls -l BUILDROOT/
total 8
drwxr-xr-x. 5 kim users 4096 Jun 26 10:59 dovecot-2.2.4-2_138.fc17.i386
drwxr-xr-x. 2 kim users 4096 Jun 26 10:59 
dovecot-2.2.4-2_138.fc17.i386%{_tmpfilesdir}


Does not look like _tmpfilesdir is set :-(

I have remembered that tmpfilesdir should be set to /etc/tmpfiles.d :-)

I have this installed:
atrpms-rpm-config-203-1.noarch

Regards,
Kim


On 2013-06-26 11:19, Kim Bisgaard wrote:
Hi Axel,

I noticed that Dovecot had a 2.2.4 release, but with a warning (in 2.2.3) that it needed a new version of Pigeonhole. There is currently no new release of Pigeonhole, so I wanted to see what would happen if I tried to recompile new Dovecot with old Pigeonhole.

I downloaded your src-rpm, updated the version, and tried to rebuild but ran 
into this error:
Processing files: dovecot-2.2.4-2_138.fc17.i686
error: File must begin with "/": %_tmpfilesdir/dovecot.conf
Executing(%doc): /bin/sh -e /home/kim/rpm/tmp/rpm-tmp.M1htXb
+ umask 022
+ cd /home/kim/rpm/BUILD
+ cd dovecot-2.2.4
+ 
DOCDIR=/home/kim/rpm/BUILDROOT/dovecot-2.2.4-2_138.fc17.i386/usr/share/doc/dovecot-2.2.4
+ export DOCDIR
+ /usr/bin/mkdir -p 
/home/kim/rpm/BUILDROOT/dovecot-2.2.4-2_138.fc17.i386/usr/share/doc/dovecot-2.2.4
+ cp -pr docinstall/documentation.txt docinstall/dovecot-openssl.cnf docinstall/example-config docinstall/mkcert.sh docinstall/solr-schema.xml docinstall/wiki AUTHORS ChangeLog COPYING COPYING.LGPL COPYING.MIT NEWS README /home/kim/rpm/BUILDROOT/dovecot-2.2.4-2_138.fc17.i386/usr/share/doc/dovecot-2.2.4
+ exit 0


RPM build errors:
    File must begin with "/": %_tmpfilesdir/dovecot.conf


It seems to come from these lines:
%if %{with systemd}
%_tmpfilesdir/dovecot.conf
%{_unitdir}/dovecot.service
%{_unitdir}/dovecot.socket
%else


But I do not understand why dovecot.conf should go into some temp-dir? nor why I have a problem here, since I have the newest macros? I have tried to surround it with {}, with no luck. This is on FC17.

Hope you can shed some light...

Regards,
Kim


_______________________________________________
atrpms-devel mailing list
atrpms-devel@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


_______________________________________________
atrpms-devel mailing list
atrpms-devel@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-devel

Reply via email to