Dear Ankur and Sébastien,
Many thanks for your help! Adding "BuildRequires: systemd" indeed fixed the
problem [2].
Sincerely,
Sébastien-
[2]
http://koji.fedoraproject.org/koji/packageinfo?packageID=15874
On Wed, Jul 17, 2013 at 2:31 PM, Sébastien Boisvert <
sebastien.boisvert.3(a)ulaval.ca> wrote:
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<https://fedoraproj...
--
Sébastien Jodogne
s.jodogne(a)gmail.com
http://www.sjodogne.be/