3
0
forked from pool/util-linux

Accepting request 242233 from home:dsterba:branches:Base:System

SR: the static packages should not be used normally, but can be used
by standalone rescue utilities (planned for btrfsprogs).

- enable build of libmount-devel-static, libuuid-devel-static and
  libblkid-devel-static

OBS-URL: https://build.opensuse.org/request/show/242233
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=244
This commit is contained in:
Stephan Kulow 2014-07-25 07:31:27 +00:00 committed by Git OBS Bridge
parent 4f89b2fa1a
commit 8a35765de5
2 changed files with 45 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 24 18:45:53 CEST 2014 - dsterba@suse.cz
- enable build of libmount-devel-static, libuuid-devel-static and
libblkid-devel-static
-------------------------------------------------------------------
Tue May 27 21:17:40 UTC 2014 - sweet_f_a@gmx.de

View File

@ -192,6 +192,15 @@ Requires: libblkid1 = %{version}
Files needed to develop applications using the library for filesystem
detection.
%package -n libblkid-devel-static
Summary: Development files for the filesystem detection library
Group: Development/Libraries/C and C++
Requires: libblkid1 = %{version}
%description -n libblkid-devel-static
Files needed to develop applications using the library for filesystem
detection.
%package -n uuidd
Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
Group: System/Filesystems
@ -221,6 +230,15 @@ Requires: libuuid1 = %{version}
Files to develop applications using the library to generate universally
unique IDs (UUIDs).
%package -n libuuid-devel-static
Summary: Development files for libuuid1
Group: Development/Libraries/C and C++
Requires: libuuid-devel-static
%description -n libuuid-devel-static
Files to develop applications using the library to generate universally
unique IDs (UUIDs).
%package -n libmount1
Summary: Device mount library
Group: System/Filesystems
@ -237,6 +255,14 @@ Requires: libmount1 = %{version}
%description -n libmount-devel
Files to develop applications using the libmount library.
%package -n libmount-devel-static
Summary: Development files for libmount1
Group: Development/Libraries/C and C++
Requires: libmount-devel
%description -n libmount-devel-static
Files to develop applications using the libmount library.
%lang_package
%prep
%if 0%{?VERIFY_SIG}
@ -340,7 +366,7 @@ export SUID_LDFLAGS="-pie"
--disable-kill \
%endif
--disable-use-tty-group \
--disable-static \
--enable-static \
--disable-silent-rules \
--disable-rpath
#
@ -917,6 +943,10 @@ fi
%{_libdir}/pkgconfig/blkid.pc
%{_mandir}/man3/libblkid.3.gz
%files -n libblkid-devel-static
%defattr(-, root, root)
%{_libdir}/libblkid.a
%files -n libmount1
%defattr(-, root, root)
/%{_libdir}/libmount.so.1
@ -929,6 +959,10 @@ fi
%{_includedir}/libmount/libmount.h
%{_libdir}/pkgconfig/mount.pc
%files -n libmount-devel-static
%defattr(-, root, root)
%{_libdir}/libmount.a
%files -n uuidd
%defattr(-, root, root)
%verify(not mode) %attr(0755,root,root) %{_sbindir}/uuidd
@ -954,4 +988,8 @@ fi
%{_libdir}/pkgconfig/uuid.pc
%{_mandir}/man3/uuid*
%files -n libuuid-devel-static
%defattr(-, root, root)
%{_libdir}/libuuid.a
%changelog