Bug 17278 - mono is lacking needed provides
Summary: mono is lacking needed provides
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 22:38 CET by Pascal Terjan
Modified: 2015-12-03 19:32 CET (History)
2 users (show)

See Also:
Source RPM: mono
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.