Fix missing pkgconfig(foo) provides
This commit is contained in:
parent
7c331da934
commit
ebc7a628ab
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: mono-core
|
Name: mono-core
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
Release: 0
|
Release: 1
|
||||||
Summary: Cross-platform, Open Source, .NET development framework
|
Summary: Cross-platform, Open Source, .NET development framework
|
||||||
License: LGPL-2.1 and MIT and MS-PL
|
License: LGPL-2.1 and MIT and MS-PL
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
@ -93,8 +93,13 @@ Provides: mono(System.Xml) = 1.0.5000.0
|
|||||||
Provides: mono(mscorlib) = 1.0.5000.0
|
Provides: mono(mscorlib) = 1.0.5000.0
|
||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos}
|
||||||
|
%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 ^...'
|
||||||
|
%else
|
||||||
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides; } | sort | uniq'
|
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/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/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires; } | sort | uniq | grep ^...'
|
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires; } | sort | uniq | grep ^...'
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Mono Project is an open development initiative that is working to
|
The Mono Project is an open development initiative that is working to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user