[Mageia-dev] [packages-commits] [197459] - added xz as buildrequire

Jani Välimaa jani.valimaa at gmail.com
Tue Jan 17 18:09:44 CET 2012


2012/1/17  <root at mageia.org>:
> Revision 197459 Author matteo Date 2012-01-17 17:12:33 +0100 (Tue, 17 Jan
> 2012)
>
> Log Message
>
> - added xz as buildrequire
> - fixed release
>
> Modified Paths
>
> cauldron/axel/current/SPECS/axel.spec
>
> Modified: cauldron/axel/current/SPECS/axel.spec
> ===================================================================
> --- cauldron/axel/current/SPECS/axel.spec	2012-01-17 16:06:10 UTC (rev
> 197458)
> +++ cauldron/axel/current/SPECS/axel.spec	2012-01-17 16:12:33 UTC (rev
> 197459)
> @@ -1,7 +1,7 @@
>  Name:		axel
>  Summary:        A lightweight download accelerator by using multiple
> connections
>  Version:        2.4
> -Release:        %mkrel 3
> +Release:        %mkrel 2
>  Source0:
> http://alioth.debian.org/frs/download.php/3015/%{name}-%{version}.tar.gz
>  URL:            http://axel.alioth.debian.org/
>
> @@ -11,6 +11,7 @@
>  BuildRequires:	libtool
>  BuildRequires:	gettext
>  BuildRequires:	desktop-file-utils
> +BuildRequires:	xz
>
>
>  %description
> @@ -30,21 +31,23 @@
>  rm -rf %{buildroot}
>  %makeinstall_std
>  install -d -m 0755 %{buildroot}%{_datadir}/applications
> -install -c -m 0755 gui/kapt/axel-kapt   %{buildroot}%{_bindir}/
> -install -c -m 0644 gui/kapt/axel-kapt.1 %{buildroot}%{_datadir}/man/man1/
> +install -c -m 0755 gui/kapt/%{name}-kapt   %{buildroot}%{_bindir}/
> +install -c -m 0644 gui/kapt/%{name}-kapt.1
> %{buildroot}%{_datadir}/man/man1/
>
> +xz -9 %{buildroot}%{_datadir}/man/man1/%{name}-kapt.1

There's no need to compress man pages by hand, it's done automatically
by the build process.


More information about the Mageia-dev mailing list