Menu

#1 provide RPM specfile

open
nobody
None
5
2007-04-17
2007-04-17
Adam Monsen
No

This patch against 1.0.0 provides an RPM specfile. Slight changes were made to the Makefile.

If backwards compatibility is desired for the Makefile, the following would require less change to the Makefile but allow smooth interaction with RPM and other systems using GNU-standard installation directories:

DESTDIR=
prefix=$(DESTDIR)/usr
libdir=$(prefix)/lib
includedir=$(prefix)/include
mandir=$(prefix)/share/man
LIBDIR=$(libdir)
INCDIR=$(includedir)
MANDIR=$(mandir)/man3

...and the rest of the Makefile should remain unchanged if this alternate setup is desired.

Discussion

  • Adam Monsen

    Adam Monsen - 2007-04-17

    better patch against 1.0.0

     
  • Adam Monsen

    Adam Monsen - 2007-04-17

    Logged In: YES
    user_id=259388
    Originator: YES

    Improved patch. The previous patch provides a specfile that includes /usr/share/man, a definite no-no.

    Also, allow Makefile access to RPM's default optimization flags.
    File Added: libcsv-1.0.0-newbuild2.patch.gz

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.