Skip to content

Commit

Permalink
[packaging] Use %license for license files. Contributes to JB#24199
Browse files Browse the repository at this point in the history
Use %license for COPYING and copyright files. Own directories that the
package should own.

Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
  • Loading branch information
Tomin1 committed Jan 16, 2019
1 parent 50775f6 commit bb41ad7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions rpm/dsme.spec
Expand Up @@ -31,7 +31,6 @@ BuildRequires: automake
%description
Device State Management Entity (with debug symbols). This package contains the Device State Management Entity which provides state management features such as service monitoring, process watchdog and inactivity tracking.


%package tests
Summary: DSME test cases
Group: Development/System
Expand Down Expand Up @@ -89,17 +88,15 @@ systemctl daemon-reload || :
%dir %{_libdir}/dsme
%{_libdir}/dsme/*
%attr(755,root,root)%{_sbindir}/*
%dir %{_sysconfdir}/dsme/
%dir %{_sysconfdir}/dsme
%config %{_sysconfdir}/dbus-1/system.d/dsme.conf
%doc debian/copyright COPYING
%license debian/copyright COPYING
/lib/systemd/system/%{name}.service
/lib/systemd/system/multi-user.target.wants/%{name}.service
/var/lib/dsme
%config(noreplace) /var/lib/dsme/alarm_queue_status
%dir /etc/profile.d
/etc/profile.d/reboot-via-dsme.sh

%files tests
%defattr(-,root,root,-)
/opt/tests/dsme-tests/*

/opt/tests/dsme-tests

0 comments on commit bb41ad7

Please sign in to comment.