Re: RPM packaging: systemd service files

2013-07-30 Thread Reindl Harald
Am 28.07.2013 20:08, schrieb আনন্দ কুমার সমাদ্দার Ananda Samaddar: > On Sun, 28 Jul 2013 20:01:42 +0200 > Reindl Harald wrote: > >> Am 28.07.2013 19:57, schrieb আনন্দ কুমার সমাদ্দার Ananda Samaddar: >>> I can get kwakd to build and package properly apart from one thing. >>> The systemd service

Re: RPM packaging: systemd service files

2013-07-30 Thread Reindl Harald
Am 28.07.2013 19:57, schrieb আনন্দ কুমার সমাদ্দার Ananda Samaddar: > I can get kwakd to build and package properly apart from one thing. > The systemd service file needs to be copied to the appropriate > directory and it doesn't seem to be working. Here are the relevant > parts of the spec file:

Re: RPM packaging: systemd service files

2013-07-28 Thread আনন্দ কুমার সমাদ্দার Ananda Samaddar
On Sun, 28 Jul 2013 19:00:13 -0400 Rahul Sundaram wrote: > Hi > > > On Sun, Jul 28, 2013 at 6:45 PM, আনন্দ কুমার সমাদ্দার wrote: > > > On Sun, 28 Jul 2013 18:13:24 -0400I've done as you suggested. The > > full spec is attached to this email. > > I'm going to use it in conjunction with this:

Re: RPM packaging: systemd service files

2013-07-28 Thread Rahul Sundaram
Hi On Sun, Jul 28, 2013 at 6:45 PM, আনন্দ কুমার সমাদ্দার wrote: > On Sun, 28 Jul 2013 18:13:24 -0400I'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 packagi

Re: RPM packaging: systemd service files

2013-07-28 Thread আনন্দ কুমার সমাদ্দার Ananda Samaddar
On Sun, 28 Jul 2013 18:13:24 -0400 Rahul Sundaram 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 u

Re: RPM packaging: systemd service files

2013-07-28 Thread Rahul Sundaram
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 official

Re: RPM packaging: systemd service files

2013-07-28 Thread আনন্দ কুমার সমাদ্দার Ananda Samaddar
On Sun, 28 Jul 2013 19:08:20 +0100 আনন্দ কুমার সমাদ্দার Ananda Samaddar wrote: > On Sun, 28 Jul 2013 20:01:42 +0200 > Reindl Harald wrote: > > > > > > > Am 28.07.2013 19:57, schrieb আনন্দ কুমার সমাদ্দার Ananda Samaddar: > > > I can get kwakd to build and package properly apart from one > > >

Re: RPM packaging: systemd service files

2013-07-28 Thread আনন্দ কুমার সমাদ্দার Ananda Samaddar
On Sun, 28 Jul 2013 20:01:42 +0200 Reindl Harald wrote: > > > Am 28.07.2013 19:57, schrieb আনন্দ কুমার সমাদ্দার Ananda Samaddar: > > I can get kwakd to build and package properly apart from one thing. > > The systemd service file needs to be copied to the appropriate > > directory and it doesn'

RPM packaging: systemd service files

2013-07-28 Thread আনন্দ কুমার সমাদ্দার Ananda Samaddar
Hello all, I'm attempting to package Kwakd for Fedora. I'm pretty new to rpm packaging but have already managed to build and package some simple stuff. I can get kwakd to build and package properly apart from one thing. The systemd service file needs to be copied to the appropriate directory and