Bug 1059154

Summary: perl-DBD-SQLite distributes sqlite3 sources
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-DBD-SQLiteAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, mmaslano, perl-devel, ppisar, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-DBD-SQLite-1.42-3.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-15 11:33:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.