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

Mikel Olasagasti Uranga <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(mikel@olasagasti. |
                   |info)                       |



--- Comment #9 from Mikel Olasagasti Uranga <[email protected]> ---
Hi Hangbin,

One last thing and this should be complete.

- Use make_install macro

  -mkdir -p $RPM_BUILD_ROOT%{_bindir}
  -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  -install -m0755 src/dropwatch $RPM_BUILD_ROOT%{_bindir}
  -install -m0644 doc/dropwatch.1 $RPM_BUILD_ROOT%{_mandir}/man1
  -
  +%{make_install}

And then in %files you can change from * to binaries

  -%{_bindir}/*
  +%{_bindir}/dropwatch
  +%{_bindir}/dwdump

Same with man pages, but you'll need to patch doc/Makefile.am to include
dwdump's man page with

 
https://github.com/nhorman/dropwatch/commit/a6a152f111766afefcdf3a3ba271cdeb3f387553

You can use directly:

  Patch1: https://github.com/nhorman/dropwatch/pull/33.patch


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to