Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 896417 Details for
Bug 547011
xz-devel should provide static lib
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-Add-a-static-subpackage-see-RHBZ-547011.patch
0001-Add-a-static-subpackage-see-RHBZ-547011.patch (text/plain), 2.49 KB, created by
Richard W.M. Jones
on 2014-05-16 14:08:15 UTC
(
hide
)
Description:
0001-Add-a-static-subpackage-see-RHBZ-547011.patch
Filename:
MIME Type:
Creator:
Richard W.M. Jones
Created:
2014-05-16 14:08:15 UTC
Size:
2.49 KB
patch
obsolete
>From 083f3ed28e2495a94697088d200df7d9a386211c Mon Sep 17 00:00:00 2001 >From: "Richard W.M. Jones" <rjones@redhat.com> >Date: Fri, 16 May 2014 15:06:22 +0100 >Subject: [PATCH] Add a -static subpackage (see RHBZ#547011). > >--- > xz.spec | 24 ++++++++++++++++++++---- > 1 file changed, 20 insertions(+), 4 deletions(-) > >diff --git a/xz.spec b/xz.spec >index 41912e7..61fc123 100644 >--- a/xz.spec >+++ b/xz.spec >@@ -3,7 +3,7 @@ > Summary: LZMA compression utilities > Name: xz > Version: 5.1.2 >-Release: 8alpha%{?dist} >+Release: 9alpha%{?dist} > License: LGPLv2+ > Group: Applications/File > # official upstream release >@@ -47,6 +47,15 @@ License: LGPLv2+ > %description libs > Libraries for decoding files compressed with LZMA or XZ utils. > >+%package static >+Summary: Statically linked library for decoding LZMA compression >+Group: System Environment/Libraries >+License: LGPLv2+ >+ >+%description static >+Statically linked library for decoding files compressed with LZMA or >+XZ utils. Most users should *not* install this. >+ > %package compat-libs > Summary: Compatibility libraries for decoding LZMA compression > Group: System Environment/Libraries >@@ -96,13 +105,13 @@ CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" > %endif > export CFLAGS > >-%configure --disable-static >+%configure > sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool > sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool > make %{?_smp_mflags} > > pushd %{compat_ver} >-%configure --disable-static >+%configure > sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool > sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool > make %{?_smp_mflags} >@@ -111,7 +120,6 @@ popd > %install > rm -rf %{buildroot} > make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" >-rm -f %{buildroot}%{_libdir}/*.a > rm -f %{buildroot}%{_libdir}/*.la > rm -rf %{buildroot}%{_docdir}/%{name} > rm -rf %{buildroot}%{_datadir}/locale >@@ -142,6 +150,11 @@ rm -rf %{buildroot} > %doc COPYING* > %{_libdir}/lib*.so.5* > >+%files static >+%defattr(-,root,root,-) >+%doc COPYING* >+%{_libdir}/liblzma.a >+ > %files compat-libs > %defattr(-,root,root,-) > %doc COPYING* >@@ -161,6 +174,9 @@ rm -rf %{buildroot} > %{_mandir}/man1/*lz* > > %changelog >+* Fri May 16 2014 Richard W.M. Jones <rjones@redhat.com> - 5.1.2-9alpha >+- Add a -static subpackage (see RHBZ#547011). >+ > * Wed Apr 02 2014 Pavel Raiskup <praiskup@redhat.com> - 5.1.2-8alpha > - add _isa requirements where appropriate > - better check the version of less binary (#1015924) >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 547011
: 896417