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 it doesn't seem to be working.  Here are the relevant
parts of the spec file:

        %install
        make install DESTDIR=$RPM_BUILD_ROOT
        cp %{name}.service %{_unitdir}

        %files 
        %doc README NEWS ChangeLog COPYING AUTHORS TODO
        %{_bindir}/%{name}
        %{_mandir}/man1/%{name}.1.gz
        %{_unitdir}/%{name}.service

The error I get is this:

+ cp kwakd.service /usr/lib/systemd/system
cp: cannot create regular file '/usr/lib/systemd/system/kwakd.service':
  Permission denied error: Bad exit status from /var/tmp/rpm-tmp.vQB9sv
  (%install)

What am I doing wrong?  If this is the wrong mailing list then please
point me to the correct one if you can too!

thanks,

Ananda Samaddar
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
  • R... আনন্দ কুমার সমাদ্দার Ananda Samaddar
    • ... Reindl Harald
      • ... আনন্দ কুমার সমাদ্দার Ananda Samaddar
        • ... আনন্দ কুমার সমাদ্দার Ananda Samaddar
          • ... Rahul Sundaram
            • ... আনন্দ কুমার সমাদ্দার Ananda Samaddar
              • ... Rahul Sundaram
                • ... আনন্দ কুমার সমাদ্দার Ananda Samaddar
        • ... Reindl Harald

Reply via email to