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=512106


Jussi Lehtola <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
         AssignedTo|[email protected]    |[email protected]




--- Comment #1 from Jussi Lehtola <[email protected]>  2009-07-16 07:49:44 
EDT ---
- Change 
 BuildRequires: /usr/bin/docbook2man
to
 BuildRequires: docbook-utils
as that package provides the binary at least on F-11 and EL-5.

- Change
 /usr/bin/docbook2man rpmconf.sgml
 /usr/bin/gzip rpmconf.8
to
 docbook2man rpmconf.sgml
(rpm will automatically compress the man page)

- and you can shorten
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
 mkdir -p $RPM_BUILD_ROOT/%{_usr}/sbin
 install -m 755 rpmconf $RPM_BUILD_ROOT%{_usr}/sbin
 install -m 644 rpmconf.8.gz $RPM_BUILD_ROOT%{_mandir}/man8/
to
 install -D -p -m 755 rpmconf $RPM_BUILD_ROOT%{_sbindir}/rpmconf
 install -D -p -m 644 rpmconf.8 $RPM_BUILD_ROOT%{_mandir}/man8/rpmconf.8
N.B. the use of the %{_sbindir} macro.

- Also, you could write out the file names in %files, i.e.
 %{_sbindir}/rpmconf
 %{_mandir}/man8/rpmconf.8.*
(a wildcard is used for the man page in case the compression format is changed
in the future)

-- 
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.

_______________________________________________
Fedora-package-review mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/fedora-package-review

Reply via email to