From 111cf12fa3f85af52b424598be94385aa3afab356844a5bb03e38f318fb2a5be Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 19 Jun 2012 10:04:45 +0000 Subject: [PATCH] Make it work on SLE11 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libntlm?expand=0&rev=4 --- libntlm.changes | 5 +++++ libntlm.spec | 42 ++++++++++++++++++++++-------------------- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/libntlm.changes b/libntlm.changes index ac8c611..d061850 100644 --- a/libntlm.changes +++ b/libntlm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 19 10:04:23 UTC 2012 - jengelh@inai.de + +- Make package build on SLE_11 as well: use classic make install. + ------------------------------------------------------------------- Fri Nov 25 01:04:06 UTC 2011 - jengelh@medozas.de diff --git a/libntlm.spec b/libntlm.spec index 713cc26..1764518 100644 --- a/libntlm.spec +++ b/libntlm.spec @@ -1,7 +1,7 @@ # # spec file for package libntlm # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,37 +15,39 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Name: libntlm + +Name: libntlm %define lname libntlm0 -Version: 1.3 -Release: 0 -License: LGPL-2.1+ -Summary: Implementation of Microsoft's NTLM authentication -URL: http://www.nongnu.org/libntlm/ -Group: Development/Libraries/C and C++ +Version: 1.3 +Release: 0 +Summary: Implementation of Microsoft's NTLM authentication +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ +Url: http://www.nongnu.org/libntlm/ #DL-URL: http://www.nongnu.org/libntlm/releases/ -Source: %name-%version.tar.xz -BuildRequires: pkgconfig, xz -BuildRoot: %_tmppath/%name-%version-build +Source: %name-%version.tar.xz +BuildRequires: pkgconfig +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Libntlm is a library that implements Microsoft's NTLM authentication. +libntlm is a library that implements Microsoft's NTLM authentication. %package -n %lname -Summary: Implementation of Microsoft's NTLM authentication -Group: System/Libraries +Summary: Implementation of Microsoft's NTLM authentication +Group: System/Libraries %description -n %lname -Libntlm is a library that implements Microsoft's NTLM authentication. +libntlm is a library that implements Microsoft's NTLM authentication. %package devel -Summary: Development files for Libntlm -Group: Development/Libraries/C and C++ -Requires: %lname = %version +Summary: Development files for Libntlm +Group: Development/Libraries/C and C++ +Requires: %lname = %version %description devel -Libntlm is a library that implements Microsoft's NTLM authentication. +libntlm is a library that implements Microsoft's NTLM authentication. %prep %setup -q @@ -55,7 +57,7 @@ Libntlm is a library that implements Microsoft's NTLM authentication. make %{?_smp_mflags}; %install -%make_install +make install DESTDIR="%buildroot"; rm -f "%buildroot/%_libdir"/*.la; %post -n %lname -p /sbin/ldconfig