Bug 17278

Summary: mono is lacking needed provides
Product: Mageia Reporter: Pascal Terjan <pterjan>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: mageia, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mono CVE:
Status comment:

Description Pascal Terjan 2015-12-02 22:38:18 CET
Some packages can not be built as pkgconfig(mono) is no longer provided.
It seems to have been removed together with many others in http://svnweb.mageia.org/packages/cauldron/mono/current/SPECS/mono.spec?r1=907492&r2=907491&pathrev=907492

The problem is likely to be following lines:
%define _use_internal_dependency_generator 0
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides; } | sort | uniq'
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires; } | sort | uniq | grep ^...'

__find_provides is calling /usr/lib/rpm/redhat/find-provides which does not exist.
__find_requires does the same with /usr/lib/rpm/redhat/find-requires.


Reproducible: 

Steps to Reproduce:
Comment 1 Nicolas Lécureuil 2015-12-03 10:17:06 CET
i rebuild locally to check

CC: (none) => mageia

Comment 2 Thierry Vignaud 2015-12-03 12:11:53 CET
You must use s/redhat/mageia/ as I said in my mail

CC: (none) => thierry.vignaud

Comment 3 Nicolas Lécureuil 2015-12-03 13:55:36 CET
done, tested and it works.

I am waiting armagnac to be up and my java build to finish before pushing it on the BS
Nicolas Lécureuil 2015-12-03 13:56:15 CET

Assignee: neoclust => mageia

Comment 4 Thierry Vignaud 2015-12-03 14:00:44 CET
Why?
Just push it...
Comment 5 Nicolas Lécureuil 2015-12-03 19:32:54 CET
fixed

Status: NEW => RESOLVED
Resolution: (none) => FIXED