Hello community,

here is the log from the commit of package libarchive for openSUSE:Factory 
checked in at 2013-12-13 13:06:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libarchive (Old)
 and      /work/SRC/openSUSE:Factory/.libarchive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libarchive"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libarchive/libarchive.changes    2013-08-23 
11:05:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libarchive.new/libarchive.changes       
2013-12-13 13:06:37.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Nov 24 16:22:02 UTC 2013 - [email protected]
+
+- add optional -static-devel library package, intended to publish pixz
+  for CentOS / RHEL, default off
+- skip some dependencies not required for pixz on CentOS / RHEL
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libarchive.spec ++++++
--- /var/tmp/diff_new_pack.gSxVRf/_old  2013-12-13 13:06:37.000000000 +0100
+++ /var/tmp/diff_new_pack.gSxVRf/_new  2013-12-13 13:06:37.000000000 +0100
@@ -16,6 +16,18 @@
 #
 
 
+%if 0%{?centos_version} || 0%{?rhel_version}
+%if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600}
+%bcond_without static_libs
+%bcond_with    openssl
+%bcond_with    ext2fs
+%endif
+%else
+%bcond_with    static_libs
+%bcond_without openssl
+%bcond_without ext2fs
+%endif
+
 %define somajor 13
 %define libname libarchive%{somajor}
 
@@ -32,8 +44,12 @@
 BuildRequires:  libacl-devel
 BuildRequires:  libattr-devel
 BuildRequires:  libbz2-devel
+%if %{with ext2fs}
 BuildRequires:  libext2fs-devel
+%endif
+%if %{with openssl}
 BuildRequires:  libopenssl-devel
+%endif
 BuildRequires:  libxml2-devel
 BuildRequires:  pkg-config
 BuildRequires:  xz-devel
@@ -132,12 +148,29 @@
 
 This package contains the development files.
 
+%if %{with static_libs}
+%package static-devel
+Requires:       %{name}-devel = %{version}
+Summary:        static library for libarchive
+Group:          Development/Libraries/C and C++
+
+%description static-devel
+static library for libarchive
+%endif
+
 %prep
 %setup -q
+%if %{with openssl}
 %patch0
+%endif
 %build
 %global optflags    %{optflags} -D_REENTRANT -pipe
-%configure --disable-silent-rules --disable-static --enable-bsdcpio
+%configure \
+       --disable-silent-rules \
+%if %{without static_libs}
+       --disable-static \
+%endif
+       --enable-bsdcpio
 make %{?_smp_mflags}
 
 %check
@@ -173,4 +206,10 @@
 %{_includedir}/archive*
 %{_libdir}/pkgconfig/libarchive.pc
 
+%if %{with static_libs}
+%files static-devel
+%defattr(-,root,root)
+%{_libdir}/%{name}.a
+%endif
+
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to