Bug 189

Summary: Submit to Mageia build system the FreetuxTV package that I have packaged
Product: Mageia Reporter: Y.LE_NY <yleny>
Component: New RPM package requestAssignee: Rémy CLOUARD (shikamaru) <shikamaru>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, shikamaru
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: freetuxtv-0.5.2-1.mga1.src.rpm CVE:
Status comment:
Attachments: spec src rpm file to submit to mageia build system
spec src rpm file to submit to mageia build system

Description Y.LE_NY 2011-02-26 15:15:46 CET
Description of problem:
Submit to Mageia build system the FreetuxTV package that I have packaged.
Packaging works fine with rpm -ba freetuxtv.spec command line,
but exclude directive/parameter don't work to exclude *.h files in spec file.
RPM i586 freetuxtv binary file works fine.

Version-Release number of selected component (if applicable):
Mageia1 Alpha1



Reproducible: 

Steps to Reproduce:
Comment 1 Y.LE_NY 2011-02-26 15:17:45 CET
Created attachment 39 [details]
spec src rpm file to submit to mageia build system
Comment 2 Rémy CLOUARD (shikamaru) 2011-02-26 15:46:11 CET
Hello, this spec is not strictly conforming to our spec file syntax, could you have a look at http://mageia.org/wiki/doku.php?id=spec_syntax ?

For instance, we donât define BuildRoot since itâs not necessary

Reorder the tags to match the policy, and remove the defines on top of the spec (you donât have to define name, version and release)

Assigning the bug to me

Thanks in advance,

Regards,

Status: NEW => ASSIGNED
CC: (none) => shikamaru
Assignee: bugsquad => shikamaru
Source RPM: (none) => freetuxtv-0.5.2-1.mga1.src.rpm

Comment 3 Y.LE_NY 2011-02-26 16:43:03 CET
Thanks, I did not know this link.
I will upload the new updated spec file.
Comment 4 Y.LE_NY 2011-02-26 16:44:11 CET
Created attachment 44 [details]
spec src rpm file to submit to mageia build system

Attachment 39 is obsolete: 0 => 1

Comment 5 D Morgan 2011-02-26 17:22:29 CET
i imported a  freetuxtv rpm, not yours because there was error, for ex when %exclude doesn't work you don't have to include the files on the rpm, because you added .so files which may lead to requires on -devel packages.

%exclude will work again on next version of our rpm, but for now you need to rm -fr the files in %install

Status: ASSIGNED => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => FIXED

Comment 6 Y.LE_NY 2011-02-26 17:50:58 CET
>i imported a  freetuxtv rpm, not yours because there was error, for ex when
>%exclude doesn't work you don't have to include the files on the rpm, because
>you added .so files which may lead to requires on -devel packages.
Thanks for this tip.
But can you update freetuxtv package from 0.5.1 to 0.5.2.
The new requirements are in my spec file.

>%exclude will work again on next version of our rpm, but for now you need to rm
>-fr the files in %install
Thanks for this tip.