Mailinglist Archive: opensuse-commit (1857 mails)

< Previous Next >
commit lockdev for openSUSE:Factory

Hello community,

here is the log from the commit of package lockdev for openSUSE:Factory
checked in at Fri Sep 23 10:27:06 CEST 2011.



--------
--- lockdev/lockdev.changes 2011-06-29 09:08:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/lockdev/lockdev.changes 2011-09-17
14:55:43.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Sep 17 12:54:37 UTC 2011 - seife+obs@xxxxxxxxxxxxxx
+
+- fix lockdev to work with /var/lock/lockdev in >11.4
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ lockdev.spec ++++++
--- /var/tmp/diff_new_pack.0VziWk/_old 2011-09-23 10:27:02.000000000 +0200
+++ /var/tmp/diff_new_pack.0VziWk/_new 2011-09-23 10:27:02.000000000 +0200
@@ -38,6 +38,12 @@
BuildRequires: pkg-config
BuildRequires: perl(ExtUtils::MakeMaker)

+%if 0%{?suse_version} > 1140
+%define path_lock /var/lock/lockdev
+%else
+%define path_lock /var/lock
+%endif
+
%description
Lockdev provides a reliable way to put an exclusive lock to devices
using both FSSTND and SVr4 methods.
@@ -81,6 +87,8 @@
EOF
touch ChangeLog
autoreconf -f -i
+CPPFLAGS='-D_PATH_LOCK=\"%{path_lock}\"'
+export CPPFLAGS
%configure --disable-silent-rules
make %{?_smp_mflags}

@@ -93,7 +101,7 @@
# no need for this
rm -f %{buildroot}/%{_libdir}/*.la
#
-mkdir -p $RPM_BUILD_ROOT/var/lock
+mkdir -p $RPM_BUILD_ROOT/%{path_lock}

%pre
getent group lock >/dev/null || groupadd -r lock || :


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



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread