On 17/07/13 06:58 AM, Sébastien Jodogne wrote:
Dear all,
I have just submitted the newest upstream version of Orthanc (0.6.0) to Fedora repositories.
The build completes successfully on Fedora 18 [1]. Unfortunately, using the same ".spec" file, I get an error on Fedora 19 that I am not able to interpret [2]:
"error: File must begin with "/": %{_unitdir}/orthanc.service [...]
RPM build errors:
File must begin with "/": %{_unitdir}/orthanc.service"
According to the documentation [1], you need to add:
BuildRequires: systemd
[1] https://fedoraproject.org/wiki/Packaging:Systemd?rd=Packaging:Guidelines:Systemd#Filesystem_locations