Hello community,

here is the log from the commit of package btrfsprogs for openSUSE:Factory 
checked in at 2015-11-08 14:35:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/btrfsprogs (Old)
 and      /work/SRC/openSUSE:Factory/.btrfsprogs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "btrfsprogs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/btrfsprogs/btrfsprogs.changes    2015-10-22 
12:58:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.btrfsprogs.new/btrfsprogs.changes       
2015-11-08 14:35:09.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Nov  2 00:00:00 CET 2015 - [email protected]
+
+- build btrfsprogs-static package for 13.2 and Factory, package
+  with static versions of the utilities, aimed for rescue environments
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ btrfsprogs.spec ++++++
--- /var/tmp/diff_new_pack.eDYZLc/_old  2015-11-08 14:35:10.000000000 +0100
+++ /var/tmp/diff_new_pack.eDYZLc/_new  2015-11-08 14:35:10.000000000 +0100
@@ -16,6 +16,13 @@
 #
 
 
+# enable building of btrfsprogs-static
+%if 0%{?suse_version} <= 1310 || 0%{?suse_version} == 1315
+%define build_static   0
+%else
+%define build_static   1
+%endif
+
 Name:           btrfsprogs
 Version:        4.2.3
 Release:        0
@@ -59,6 +66,26 @@
 %description
 Utilities needed to create and maintain btrfs file systems under Linux.
 
+%if %build_static
+%package -n btrfsprogs-static
+Summary:        Static build of utilities for the Btrfs filesystem
+Group:          System/Filesystems
+BuildRequires:  glibc-devel-static
+BuildRequires:  libblkid-devel-static
+BuildRequires:  libcom_err-devel-static
+BuildRequires:  libext2fs-devel-static
+BuildRequires:  libuuid-devel-static
+BuildRequires:  lzo-devel-static
+BuildRequires:  zlib-devel-static
+
+%description -n btrfsprogs-static
+Static build of utilities needed to create and maintain btrfs file systems
+under Linux. Suitable for limited or rescue environments.
+
+Warning: the zlib and lzo libraries are statically linked in and may lack
+important updates
+%endif
+
 %package -n libbtrfs0
 Summary:        Library for interacting with Btrfs
 Group:          System/Libraries
@@ -89,10 +116,22 @@
 %build
 ./autogen.sh
 %configure
-make V=1 %{?_smp_mflags} all
+make V=1 %{?_smp_mflags} all \
+%if %build_static
+                       static
+%endif
 
 %install
-make install DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} 
mandir=%{_mandir} libdir=%{_libdir}
+make install           \
+%if %build_static
+       install-static  \
+%endif
+       DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} 
mandir=%{_mandir} libdir=%{_libdir}
+
+%if %build_static
+make install-static DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} 
mandir=%{_mandir} libdir=%{_libdir}
+%endif
+
 install -m 0755 -d %{buildroot}/%{_sbindir}
 install -m 0755 -d %{buildroot}/%{_bindir}
 # move some utilities out of /usr/sbin
@@ -219,6 +258,25 @@
 %{_sbindir}/btrfs-select-super
 %endif
 
+%if %build_static
+%files -n btrfsprogs-static
+%defattr(-, root, root)
+%{_sbindir}/btrfs.static
+%{_sbindir}/btrfs-zero-log.static
+%{_sbindir}/btrfs-convert.static
+%{_sbindir}/btrfs-image.static
+%{_sbindir}/btrfstune.static
+%{_sbindir}/btrfsck.static
+%{_sbindir}/mkfs.btrfs.static
+%{_sbindir}/btrfs-debug-tree.static
+%{_sbindir}/btrfs-show-super.static
+%{_sbindir}/btrfs-calc-size.static
+%{_sbindir}/btrfs-corrupt-block.static
+%{_sbindir}/btrfs-find-root.static
+%{_sbindir}/btrfs-map-logical.static
+%{_sbindir}/btrfs-select-super.static
+%endif
+
 %files -n libbtrfs0
 %defattr(-, root, root)
 %{_libdir}/libbtrfs.so.*

++++++ local-version-override.patch ++++++
--- /var/tmp/diff_new_pack.eDYZLc/_old  2015-11-08 14:35:10.000000000 +0100
+++ /var/tmp/diff_new_pack.eDYZLc/_new  2015-11-08 14:35:10.000000000 +0100
@@ -7,7 +7,7 @@
  # Released under the GNU GPLv2
  
 -v="v4.2.3"
-+v="v4.2.3+20151019"
++v="v4.2.3+20151102"
  
  opt=$1
  


Reply via email to