Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1288606 - Split library from binary to drop unnecessary dependencies.
Summary: Split library from binary to drop unnecessary dependencies.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sqlite
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Staněk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-04 17:36 UTC by Vít Ondruch
Modified: 2016-03-22 08:27 UTC (History)
6 users (show)

Fixed In Version: sqlite-3.11.0-1.fc23 sqlite-3.11.0-2.fc23
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-26 19:21:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Split library from binary to drop unnecessary dependencies (1.75 KB, patch)
2015-12-04 17:36 UTC, Vít Ondruch
no flags Details | Diff

Description Vít Ondruch 2015-12-04 17:36:12 UTC
Created attachment 1102342 [details]
Split library from binary to drop unnecessary dependencies

Description of problem:
The sqlite library is widely used, but the sqlite3 binary, which is included in the package, is rarely used (I never used it personally, although using sqlite for my projects). What is more important, it pulls in dependencies such as readline and ncurses. Therefore I suggest to split the library from the binary, into separate subpackage. This might for some cases save 2MB of data for download as well as on disk.


Version-Release number of selected component (if applicable):
$ rpm -q sqlite
sqlite-3.9.0-1.fc24.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vít Ondruch 2015-12-04 17:42:09 UTC
Just FTR, Debian has the library and binary in separate packages as well:

https://packages.debian.org/source/stretch/sqlite3

Comment 2 Jan Staněk 2016-02-08 16:40:31 UTC
Package with the requested split is now built in rawhide. If nothing breaks within a few days, I will propagate this change to branched Fedoras.

Comment 3 Fedora Update System 2016-02-17 11:56:59 UTC
spatialite-tools-4.3.0-9.fc23 sqlite-3.11.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-990c070b19

Comment 4 Fedora Update System 2016-02-17 11:56:59 UTC
spatialite-tools-4.2.0-20.fc22 sqlite-3.11.0-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b37af739e7

Comment 5 Fedora Update System 2016-02-17 22:22:35 UTC
spatialite-tools-4.2.0-20.fc22, sqlite-3.11.0-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b37af739e7

Comment 6 Fedora Update System 2016-02-17 22:31:25 UTC
spatialite-tools-4.3.0-9.fc23, sqlite-3.11.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-990c070b19

Comment 7 Rex Dieter 2016-02-20 23:29:49 UTC
Multilib upgrade path is broken, to fix this introduce into main and -libs subpkgs:

Obsoletes: sqlite < 3.11.0

Comment 8 Fedora Update System 2016-02-21 12:57:20 UTC
spatialite-tools-4.3.0-9.fc23, sqlite-3.11.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Rex Dieter 2016-02-21 13:11:10 UTC
Re-opening, see comment #7, the split library implementation is not yet complete

Comment 10 Fedora Update System 2016-02-21 16:18:04 UTC
spatialite-tools-4.3.0-9.fc23, sqlite-3.11.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-02-21 16:24:15 UTC
spatialite-tools-4.3.0-9.fc23, sqlite-3.11.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Hannes Frederic Sowa 2016-02-22 13:21:55 UTC
Reopened again after Fedora Update System automatically closed the bug after Rex reopened it. I agree, this update probably misses a obsoletes-tag.

Comment 13 Fedora Update System 2016-02-23 15:34:50 UTC
spatialite-tools-4.2.0-20.fc22 sqlite-3.11.0-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b37af739e7

Comment 14 Fedora Update System 2016-02-23 15:40:39 UTC
sqlite-3.11.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-850f410498

Comment 15 Rex Dieter 2016-02-23 17:02:05 UTC
fyi, there's no point in adding both Conflicts and Obsoletes,

Obsoletes: %{name} < 3.11.0-1
Conflicts: %{name} < 3.11.0-1

only the Obsoletes is needed here

Comment 16 Fedora Update System 2016-02-25 10:53:39 UTC
spatialite-tools-4.2.0-20.fc22, sqlite-3.11.0-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b37af739e7

Comment 17 Fedora Update System 2016-02-26 02:25:57 UTC
sqlite-3.11.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-850f410498

Comment 18 Fedora Update System 2016-02-26 19:21:44 UTC
sqlite-3.11.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2016-03-22 08:27:23 UTC
sqlite-3.11.0-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b37af739e7


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