[Mageia-dev] [packages-commits] [340431] fixed lib major

Jani Välimaa jani.valimaa at gmail.com
Mon Jan 7 16:40:22 CET 2013


On Mon,  7 Jan 2013 00:32:07 +0100 (CET)
root at mageia.org wrote:

> Revision: 340431
> Author:   matteo
> Date:     2013-01-07 00:32:06 +0100 (Mon, 07 Jan 2013)
> Log Message:
> -----------
> fixed lib major
> 
> Modified Paths:
> --------------
>     cauldron/grail/current/SPECS/grail.spec
> 
> Modified: cauldron/grail/current/SPECS/grail.spec
> ===================================================================
> --- cauldron/grail/current/SPECS/grail.spec	2013-01-06
> 23:31:33 UTC (rev 340430) +++
> cauldron/grail/current/SPECS/grail.spec	2013-01-06 23:32:06
> UTC (rev 340431) @@ -1,11 +1,11 @@ -%define
> _major		5 +%define		_major
> 6 %define		_name		grail
>  %define		libname		%mklibname %{_name}
> %{_major} %define		devname		%mklibname -d
> %{_name} 
>  Name:		%_name
>  Version:	3.0.9
> -Release:	%mkrel 1
> +Release:	%mkrel 2
>  License:	GPLv3
>  Summary:	Gesture Recognition And Instantiation Library
>  Group:		Development/Other

You should add a "%{major} check" to %files section of the lib pkg.
(Use %{major} in file names).

It catches %{major} changes and build fails if %{major} versions
doesn't match.


More information about the Mageia-dev mailing list