Hi! 1st issue:
I want to build mono-3.12 in OBS. I forked a convenient mono package and set it up to run only on CentOS 6. Initially it was complaining about a lot of packages but after adding EPEL 6, they reduced to ‘nothing provides timezone’
I also wanted to add the dowload link for rpmfusion repo but it complained that I need to be an admin to add remote resources.
I’m not sure what I miss; all other mono packages that I found in OBS use only CentOS:CentOS_6.
I want to repackage a subset of mono in a different package (the mono_2.0 and mono_4.0 profiles) . It just that the current mono.spec creates several packages while I only want one package.
Given this fragment from mono.spec:
%package -n mono-locale-extras
License: LGPL v2.1 only
Summary: Extra locale information
Requires: mono-core == %version-%release
Provides: mono(I18N.CJK) = 1.0.5000.0
Provides: mono(I18N.MidEast) = 1.0.5000.0
Provides: mono(I18N.Other) = 1.0.5000.0
Provides: mono(I18N.Rare) = 1.0.5000.0
%description -n mono-locale-extras
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.
Extra locale information.
%files -n mono-locale-extras
%defattr(-, root, root)
What does %files -n mono-locale-extras stand for? I suppose it sets the folder from where to copy files? If so, how do I setup to copy the right files from mono-core and mono-locale-extras from the excerpt?
My package will only copy files in the %_prefix/lib/mono/2.0 and %_prefix/lib/mono/4.0 (which are empty since mono 4.0). Do I need to define Requires and Provides? If my package requires to already have mono >= 4.0 installed how do I set this dependency?