[gssntlmssp/f21] put configuration in the new mech.d directory introduced as a backport in

Simo Sorce simo at fedoraproject.org
Fri Aug 1 15:15:20 UTC 2014


commit e1b4b751a91303b5039247c4461075c2272136e5
Author: Simo Sorce <simo at redhat.com>
Date:   Fri Aug 1 11:00:16 2014 -0400

    put configuration in the new mech.d directory introduced as a backport in
    
      krb5-1.12.1-9

 gssntlmssp.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/gssntlmssp.spec b/gssntlmssp.spec
index c27f51c..3d3aee5 100644
--- a/gssntlmssp.spec
+++ b/gssntlmssp.spec
@@ -1,6 +1,6 @@
 Name:		gssntlmssp
 Version:	0.4.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	GSSAPI NTLMSSP Mechanism
 
 Group:		System Environment/Libraries
@@ -8,7 +8,7 @@ License:	LGPLv3+
 URL:		https://fedorahosted.org/gss-ntlmssp
 Source0:        https://fedorahosted.org/released/gss-ntlmssp/%{name}-%{version}.tar.gz
 
-Requires: krb5-libs%{?_isa} >= 1.11.2
+Requires: krb5-libs%{?_isa} >= 1.12.1-9
 
 BuildRequires: autoconf
 BuildRequires: automake
@@ -50,14 +50,14 @@ make %{?_smp_mflags} all
 %install
 %make_install
 rm -f %{buildroot}%{_libdir}/gssntlmssp/gssntlmssp.la
-install -d -m755 %{buildroot}%{_sysconfdir}/gss
-install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.ntlmssp
+mkdir -p %{buildroot}%{_sysconfdir}/gss/mech.d
+install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.d/ntlmssp.conf
 
 %check
 make test_gssntlmssp
 
 %files
-%config(noreplace) %{_sysconfdir}/gss/mech.ntlmssp
+%config(noreplace) %{_sysconfdir}/gss/mech.d/ntlmssp.conf
 %{_libdir}/gssntlmssp/
 %{_mandir}/man8/gssntlmssp.8*
 %doc COPYING
@@ -66,6 +66,10 @@ make test_gssntlmssp
 %{_includedir}/gssapi/gssapi_ntlmssp.h
 
 %changelog
+* Fri Aug 1  2014 Simo Sorce <simo at samba.org> - 0.4.0-2
+- put configuration in the new mech.d directory introduced as a backport in
+  krb5-1.12.1-9
+
 * Sat Jun 21 2014 Simo Sorce <simo at samba.org> - 0.4.0-1
 - New upstream release 0.4.0:
   * Added support for MIC and Channel Binding features of NTLMv2


More information about the scm-commits mailing list