[Bug 586473] Review Request: mg - Tiny Emacs-like editor

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 27 21:01:18 UTC 2010


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

Terje Røsten <terjeros at phys.ntnu.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |terjeros at phys.ntnu.no

--- Comment #1 from Terje Røsten <terjeros at phys.ntnu.no> 2010-04-27 17:01:14 EDT ---
Cool, mg in Fedora :-)

Patch to build with correct build opts and creating a useful debuginfo package,
will also preserve timestamps om man page and be more robust against changing
compress format.

--- mg.spec~    2010-04-26 16:38:40.000000000 +0200
+++ mg.spec     2010-04-27 22:49:06.000000000 +0200
@@ -23,11 +23,12 @@
 # configure takes no arguments and will fail if you give it any, therefore we
 # do not use the configure macro here
 ./configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="%{optflags}"

 %install
 rm -rf $RPM_BUILD_ROOT
-make install-strip DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir}
+make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} \
+    INSTALL='install -p'

 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -36,7 +37,7 @@
 %defattr(-,root,root,-)
 %doc README tutorial
 %{_bindir}/mg
-%{_mandir}/man1/mg.1.gz
+%{_mandir}/man1/mg.1*

 %changelog
 * Tue Apr 27 2010 Mark McKinstry <mmckinst at nexcess.net> - 20090107-1

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


More information about the package-review mailing list