[Bug 1059154] New: perl-DBD-SQLite distributes sqlite3 sources

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 29 09:59:18 UTC 2014


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

            Bug ID: 1059154
           Summary: perl-DBD-SQLite distributes sqlite3 sources
           Product: Fedora
           Version: rawhide
         Component: perl-DBD-SQLite
          Assignee: jplesnik at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: jplesnik at redhat.com, mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    steve at silug.org



DBD-SQLite sources come with sqlite3.c, sqlite3.h, and sqlite3ext.h which are
bundled SQLite sources. The files are not used when building perl-DBD-SQLite,
however they are installed into the system later into
/usr/lib64/perl5/vendor_perl/auto/share/dist/DBD-SQLite for this documented
purpose:

FOR DBD::SQLITE EXTENSION AUTHORS
    Since 1.30_01, you can retrieve the bundled sqlite C source and/or header
    like this:

      use File::ShareDir 'dist_dir';
      use File::Spec::Functions 'catfile';

      # the whole sqlite3.h header
      my $sqlite3_h = catfile(dist_dir('DBD-SQLite'), 'sqlite3.h');
      [...]

    You usually want to use this in your extension's "Makefile.PL", and you
    may want to add DBD::SQLite to your extension's "CONFIGURE_REQUIRES" to
    ensure your extension users use the same C source/header they use to build
    DBD::SQLite itself (instead of the ones installed in their system).

First it does not match Fedora philosophy, second it installed different
sources from those used for building the Perl binding.

I propose to remove this feature completely.

-- 
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=qxOHw1pDB0&a=cc_unsubscribe



More information about the perl-devel mailing list