Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=652971

--- Comment #45 from Ilyes Gouta <[email protected]> 2011-10-01 15:27:48 
EDT ---
Hi Michael,

Based on the
https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering page,
I updated my .spec file with these few lines:

%{?filter_setup:
%filter_from_provides /.*\.so\.1$/d; /.*\.so\.1()(64bit)$/d
%filter_from_requires /.*\.so\.1$/d; /.*\.so\.1()(64bit)$/d
%filter_setup
}

/.*\.so\.1$/d would remove the provides/requires for a 32bit build and
/.*\.so\.1()(64bit)$/d would do the same for a 64bit build

Now rpm -qp --provides RPMS/x86_64/code-editor-2.3.0-9.fc15.x86_64.rpm returns:

ilyes@whitebird ~/rpmbuild  $ rpm -qp --provides
RPMS/x86_64/code-editor-2.3.0-9.fc15.x86_64.rpm 
libBinEditor.so()(64bit)  
libCore.so()(64bit)  
libCppEditor.so()(64bit)  
libCppTools.so()(64bit)  
libFakeVim.so()(64bit)  
libFind.so()(64bit)  
libLocator.so()(64bit)  
libTextEditor.so()(64bit)  
mimehandler(text/x-c++hdr)  
mimehandler(text/x-chdr)  
mimehandler(text/x-c++src)  
mimehandler(text/x-csrc)  
mimehandler(text/x-xsrc)  
code-editor = 2.3.0-9.fc15
code-editor(x86-64) = 2.3.0-9.fc15

Looks good, isn't?

-Ilyes

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to