bugcrmsh - Bugs: bug #37153, Files-list of the RPM package is...

 
 

bug #37153: Files-list of the RPM package is short.

Submitted by:  nozawat <nozawat>
Submitted on:  Tue 21 Aug 2012 08:58:03 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 24 Aug 2012 11:00:35 AM UTC, comment #6:

OK, I confirm one's environment.

nozawat <nozawat>
Wed 22 Aug 2012 09:02:22 AM UTC, comment #5:

Adding:

%doc %{crmsh_docdir}

breaks the build on SLE:

RPM build errors:
File listed twice: /usr/share/doc/packages/crmsh
File listed twice: /usr/share/doc/packages/crmsh
File listed twice: /usr/share/doc/packages/crmsh/AUTHORS
File listed twice: /usr/share/doc/packages/crmsh/COPYING
create archive failed on file /var/tmp/crmsh-1.1.0-build/usr/share/doc/packages/crmsh/crm.8.html: cpio: open failed - Bad file descriptor

On RHEL6 it's slightly different:

RPM build errors:
File not found: /home/abuild/rpmbuild/BUILDROOT/crmsh-1.1.0-1.x86_64/usr/share/doc/crmsh

Both builds were driven by the openSUSE Build Service.

Otherwise, the previous crmsh.spec (probably a bit different), did work on RHEL:

https://build.opensuse.org/package/live_build_log?arch=x86_64&package=crmsh&project=network%3Aha-clustering&repository=RedHat_RHEL-6

Are you sure that your build environment is ok?

Dejan Muhamedagic <dejanm>
Project Administrator
Wed 22 Aug 2012 01:49:17 AM UTC, comment #4:

I'm sorry.
It is %doc as follows not %dir.

>%dir %{crmsh_docdir}

->%doc %{crmsh_docdir}

The following errors occur when they do not do so it.
-------------
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/crmsh-1.1.0-0.el6.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/share/doc/crmsh/AUTHORS
/usr/share/doc/crmsh/COPYING
/usr/share/doc/crmsh/crm.8.html

RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/doc/crmsh/AUTHORS
/usr/share/doc/crmsh/COPYING
/usr/share/doc/crmsh/crm.8.html
-------------

nozawat <nozawat>
Tue 21 Aug 2012 09:42:45 AM UTC, comment #3:

Committed. Thanks!

Dejan Muhamedagic <dejanm>
Project Administrator
Tue 21 Aug 2012 09:27:09 AM UTC, comment #2:

> %dir %{crmsh_docdir}

Thank you for a correction.

> BTW, which platform/distribution is this?

It's RHEL6-x86_64.
The dependence revised it directly.

nozawat <nozawat>
Tue 21 Aug 2012 09:21:49 AM UTC, comment #1:

I guess you'd want something like this:

%dir %{crmsh_docdir}

BTW, which platform/distribution is this?

Dejan Muhamedagic <dejanm>
Project Administrator
Tue 21 Aug 2012 08:58:03 AM UTC, original submission:

Because there was not a definition of " /usr/share/doc/crmsh", I was not able to make rpm-package.

nozawat <nozawat>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #26405:  crmsh.spec.patch added by nozawat (278B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dejanm (Posted a comment)
  • -unavailable- added by nozawat (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Aug 2012 09:43:28 AM UTCdejanmStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 21 Aug 2012 08:58:03 AM UTCnozawatAttached File-=>Added crmsh.spec.patch, #26405

    Back to the top


    Powered by Savane 3.1-cleanup1