packages: lensfun/lensfun.spec - package api manual - rel. 1

Przemyslaw Iskra sparky at pld-linux.org
Tue Jun 29 19:28:55 CEST 2010


On Tue, Jun 29, 2010 at 04:28:17PM +0200, draenog wrote:

> @@ -87,6 +84,8 @@
>  
>  %{__make} install \
>  	DESTDIR=$RPM_BUILD_ROOT
> +%{__gzip} -9 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{README,cc-by-sa-3.0.txt}
> +rm $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{gpl-3.0.txt,lgpl-3.0.txt}
>  
>  %clean
>  rm -rf $RPM_BUILD_ROOT
> @@ -96,7 +95,9 @@
>  
>  %files
>  %defattr(644,root,root,755)
> -%doc README docs/cc-by-sa-3.0.txt
> +%{_docdir}/%{name}-%{version}/README.gz
> +%{_docdir}/%{name}-%{version}/cc-by-sa-3.0.txt.gz
> +%dir %{_docdir}/%{name}-%{version}
>  %attr(755,root,root) %{_libdir}/liblensfun.so.*.*.*
>  %{_datadir}/lensfun
>  

Please, give us a good reason why you've done this manually.

-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ......... LANG...Pl,Ca,Es,En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW...ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : WWW2..............rsget.pl
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail..sparky at pld-linux.org


More information about the pld-devel-en mailing list