Bug 1059154 - perl-DBD-SQLite distributes sqlite3 sources
Summary: perl-DBD-SQLite distributes sqlite3 sources
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-DBD-SQLite
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-29 09:59 UTC by Petr Pisar
Modified: 2014-07-15 11:33 UTC (History)
5 users (show)

Fixed In Version: perl-DBD-SQLite-1.42-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-15 11:33:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-01-29 09:59:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.