RPM packaging: systemd service files

আনন্দ কুমার সমাদ্দার Ananda Samaddar asamaddar at myopera.com
Sun Jul 28 22:45:00 UTC 2013


On Sun, 28 Jul 2013 18:13:24 -0400
Rahul Sundaram <metherid at gmail.com> wrote:

> Hi
> 
> 
> > OK I fixed it by adding this:
> >
> > mkdir -p %{buildroot}%{_unitdir}/
> >
> > before copying the service file.
> >
> > It's always the most obvious and daft things!
> >
> 
> Glad you found the solution.  You might want to use install instead
> of cp however and if you are interested in packaging this officially
> for Fedora, please post the full spec for review.  Thanks
> 
> Rahul

I've done as you suggested.  The full spec is attached to this email.
I'm going to use it in conjunction with this:

http://gaenserich.github.io/hostsblock/

I'll have a look at packaging that shortly.

Ananda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwakd.spec
Type: text/x-rpm-spec
Size: 988 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130728/c7e0783d/attachment.bin>


More information about the users mailing list