fix license handling
This commit is contained in:
parent
3a8dfc6260
commit
68e5f160e7
@ -5,7 +5,7 @@
|
||||
Summary: Library to control and monitor control groups
|
||||
Name: libcgroup
|
||||
Version: 0.41
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
URL: http://libcg.sourceforge.net/
|
||||
@ -122,11 +122,15 @@ getent group cgred >/dev/null || groupadd -r cgred
|
||||
/bin/systemctl try-restart cgconfig.service >/dev/null 2>&1 || :
|
||||
|
||||
%files
|
||||
%doc COPYING README
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_libdir}/libcgroup.so.*
|
||||
|
||||
%files tools
|
||||
%doc COPYING README README_systemd
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README README_systemd
|
||||
%config(noreplace) %{_sysconfdir}/cgconfig.conf
|
||||
%config(noreplace) %{_sysconfdir}/cgsnapshot_blacklist.conf
|
||||
/usr/bin/cgcreate
|
||||
@ -146,17 +150,24 @@ getent group cgred >/dev/null || groupadd -r cgred
|
||||
%{_unitdir}/cgconfig.service
|
||||
|
||||
%files pam
|
||||
%doc COPYING README
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README
|
||||
%attr(0755,root,root) %{_libdir}/security/pam_cgroup.so
|
||||
|
||||
%files devel
|
||||
%doc COPYING README
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_includedir}/libcgroup.h
|
||||
%{_includedir}/libcgroup/*.h
|
||||
%{_libdir}/libcgroup.so
|
||||
%{_libdir}/pkgconfig/libcgroup.pc
|
||||
|
||||
%changelog
|
||||
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 0.41-4
|
||||
- fix license handling
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user