[Bug 1080246] New: packaging issues

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 25 02:58:03 UTC 2014


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

            Bug ID: 1080246
           Summary: packaging issues
           Product: Fedora
           Version: rawhide
         Component: t-prot
          Assignee: emmanuel at seyman.fr
          Reporter: cickumqt at gmail.com
        QA Contact: extras-qa at fedoraproject.org
                CC: emmanuel at seyman.fr, perl-devel at lists.fedoraproject.org



Hi,

Here are some issues found in spec:

Quoted from spec:

%build

%install
install -d $RPM_BUILD_ROOT%{_bindir}
install t-prot $RPM_BUILD_ROOT%{_bindir}

install -d $RPM_BUILD_ROOT%{_mandir}/man1/
install -m 644 t-prot.1 $RPM_BUILD_ROOT%{_mandir}/man1/
gzip -f $RPM_BUILD_ROOT%{_mandir}/man1/t-prot.1

%files
%doc ChangeLog TODO README contrib
%{_bindir}/t-prot
%{_mandir}/man1/t-prot.1.gz

Issues:

1. Add a comment at %build like "Empty build"

2. install t-prot $RPM_BUILD_ROOT%{_bindir}

Missing -p and -m755.

3. install -m 644 t-prot.1 $RPM_BUILD_ROOT%{_mandir}/man1/

Missing -p.

4. gzip -f $RPM_BUILD_ROOT%{_mandir}/man1/t-prot.1

You shouldn't do that. RPM will do this.

If you want RPM to compress it, leave the item in %files from currently-used

%{_mandir}/man1/t-prot.1.gz

to

%{_mandir}/man1/t-prot.1*

------------------------------------------------------
Please fix above all issues in git, you can build it as -2 but you can also
wait the f21 mass rebuild.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=GL1TW4slg7&a=cc_unsubscribe



More information about the perl-devel mailing list