Hello community, here is the log from the commit of package libdlm for openSUSE:Factory checked in at 2020-10-18 16:19:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdlm (Old) and /work/SRC/openSUSE:Factory/.libdlm.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdlm" Sun Oct 18 16:19:39 2020 rev:52 rq:841897 version:4.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/libdlm/libdlm.changes 2020-09-24 16:13:02.812826777 +0200 +++ /work/SRC/openSUSE:Factory/.libdlm.new.3486/libdlm.changes 2020-10-18 16:19:52.328449454 +0200 @@ -1,0 +2,13 @@ +Wed Oct 14 11:04:44 UTC 2020 - Jan Engelhardt <jeng...@inai.de> + +- Do build with SUSE's %optflags. +- Abolish historic specfile constructs. +- Rework libdlm3 require with a shared library version + tag instead so it propagates to all consuming packages. + +------------------------------------------------------------------- +Wed Oct 14 10:10:20 UTC 2020 - g...@suse.com + +- Add require libdlm3 (bsc#1177658) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdlm.spec ++++++ --- /var/tmp/diff_new_pack.U5NYMQ/_old 2020-10-18 16:19:53.388449925 +0200 +++ /var/tmp/diff_new_pack.U5NYMQ/_new 2020-10-18 16:19:53.392449927 +0200 @@ -1,7 +1,7 @@ # # spec file for package libdlm # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ Group: Productivity/Clustering/HA Version: 4.0.9 Release: 0 -Url: https://pagure.io/dlm +URL: https://pagure.io/dlm/ Source: https://releases.pagure.org/dlm/dlm-%{version}.tar.gz Patch1: 0001-makefile-for-diff-arch.patch Patch2: 0002-remove-sd-notify.patch @@ -44,7 +44,6 @@ Patch4: sysmacros.patch Patch5: cluster-ringid-seq.patch Patch6: dlm_controld-add-note-that-the-dlm-file-is-not-creat.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: libcorosync-devel @@ -82,23 +81,18 @@ like OCFS2, to interface with the in-kernel distributed lock manager. %prep -########################################################### -%setup -qn dlm-%{version} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -########################################################### +%autosetup -p1 -n dlm-%{version} %build +echo "V_%version { global: *; };" >dlm.ver +export CFLAGS="%optflags" +export LDFLAGS="-Wl,--version-script=$PWD/dlm.ver" make all UDEVDIR="%{_udevrulesdir}" ########################################################### %install ########################################################### -make DESTDIR=$RPM_BUILD_ROOT UDEVDIR="%{_udevrulesdir}" install +%make_install UDEVDIR="%{_udevrulesdir}" mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/packages/libdlm-%{version} install -Dm 0644 init/dlm.service $RPM_BUILD_ROOT%{_unitdir}/dlm.service @@ -125,8 +119,6 @@ %postun -n libdlm3 -p /sbin/ldconfig %files -########################################################### -%defattr(-,root,root) %dir %{_datadir}/doc/packages/libdlm-%{version} %{_udevrulesdir}/51-dlm.rules %{_sbindir}/dlm_controld @@ -140,14 +132,11 @@ %{_fillupdir}/sysconfig.dlm %files -n libdlm3 -%defattr(-,root,root) %{_libdir}/libdlm.so.* %{_libdir}/libdlm_lt.so.* %{_libdir}/libdlmcontrol.so.* %files devel -########################################################### -%defattr(-,root,root) %{_libdir}/libdlm*.so %{_libdir}/pkgconfig/libdlm.pc %{_libdir}/pkgconfig/libdlm_lt.pc