mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
packaging: packaging licensing properly.
As fedora guidelines, %license is the reserved keyword to install copyright files. We don't need to copy them manually. Change-Id: I21d353f0fdecb86e1a662f8e336db8d84753da87
This commit is contained in:
parent
0165427d9b
commit
ea21c77dfe
@ -52,15 +52,11 @@ make %{?jobs:-j%jobs}
|
||||
%install
|
||||
%make_install
|
||||
|
||||
mkdir -p %{buildroot}/%{_datadir}/license
|
||||
cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/COPYING
|
||||
cp %{_builddir}/%{buildsubdir}/licenses/* %{buildroot}/%{_datadir}/license/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/liblottie-player.so.*
|
||||
%{_datadir}/license/COPYING*
|
||||
%manifest %{name}.manifest
|
||||
%license COPYING licenses/COPYING*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user