[packages/libgssglue] - new project home and maintainer, updated to 0.5

qboosh qboosh at pld-linux.org
Fri Jul 15 20:53:21 CEST 2022


commit ff8384e119926f71872258b7e633ad7d04d5c1f6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jul 15 20:55:09 2022 +0200

    - new project home and maintainer, updated to 0.5

 libgssglue-soname.patch |  3 +--
 libgssglue.spec         | 21 ++++++++++++---------
 2 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/libgssglue.spec b/libgssglue.spec
index 993fb72..6d46ecd 100644
--- a/libgssglue.spec
+++ b/libgssglue.spec
@@ -1,15 +1,16 @@
 Summary:	GSSAPI interface using mechanisms from other GSSAPI implementations
 Summary(pl.UTF-8):	Interfejs GSSAPI używający mechanizmów z innych implementacji GSSAPI
 Name:		libgssglue
-Version:	0.4
+Version:	0.5
 Release:	1
 License:	BSD/MIT
 Group:		Libraries
-Source0:	http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/%{name}-%{version}.tar.gz
-# Source0-md5:	088797f3180702fa54e786496b32e750
+#Source0Download: https://gitlab.com/gsasl/libgssglue/-/releases
+Source0:	https://gitlab.com/gsasl/libgssglue/uploads/eed1e65e06ed330214bd6f647af42b7f/%{name}-%{version}.tar.gz
+# Source0-md5:	8ffe582d3678b4789d7f67666d71b1d2
 Patch0:		%{name}-soname.patch
-URL:		http://www.citi.umich.edu/projects/nfsv4/linux/
-Obsoletes:	libgssapi
+URL:		https://gitlab.com/gsasl/libgssglue
+Obsoletes:	libgssapi < 0.12
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %undefine	__cxx
@@ -29,7 +30,7 @@ Summary:	Development files for libgssglue library
 Summary(pl.UTF-8):	Pliki programistyczne biblioteki libgssglue
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Obsoletes:	libgssapi-devel
+Obsoletes:	libgssapi-devel < 0.12
 
 %description devel
 Development files for libgssglue library.
@@ -42,7 +43,7 @@ Summary:	Static libgssglue library
 Summary(pl.UTF-8):	Statyczna biblioteka libgssglue
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
-Obsoletes:	libgssapi-static
+Obsoletes:	libgssapi-static < 0.12
 
 %description static
 Static libgssglue library.
@@ -67,11 +68,14 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib}}
 
 sed -e 's|/lib/|/%{_lib}/|g' doc/gssapi_mech.conf > $RPM_BUILD_ROOT%{_sysconfdir}/gssapi_mech.conf
 
-mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.so
 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib*.so.*.*) \
 	$RPM_BUILD_ROOT%{_libdir}/libgssglue.so
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgssglue.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -88,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgssglue.so
-%{_libdir}/libgssglue.la
 %{_includedir}/gssglue
 %{_pkgconfigdir}/libgssglue.pc
 
diff --git a/libgssglue-soname.patch b/libgssglue-soname.patch
index 1066731..9335328 100644
--- a/libgssglue-soname.patch
+++ b/libgssglue-soname.patch
@@ -1,11 +1,10 @@
 --- libgssapi-0.10/doc/gssapi_mech.conf~	2005-11-22 16:16:31.000000000 +0100
 +++ libgssapi-0.10/doc/gssapi_mech.conf	2007-03-31 01:18:49.285156314 +0200
-@@ -15,7 +15,8 @@
+@@ -15,7 +15,7 @@
  # library                               initialization function
  # ================================	==========================
  # The MIT K5 gssapi library, use special function for initialization.
 -/usr/lib/libgssapi_krb5.so		mechglue_internal_krb5_init
-+#/usr/lib/libgssapi_krb5.so		mechglue_internal_krb5_init
 +/usr/lib/libgssapi_krb5.so.2		mechglue_internal_krb5_init
  #
  # The SPKM3 gssapi library function.  Use the function spkm3_gss_initialize.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgssglue.git/commitdiff/ff8384e119926f71872258b7e633ad7d04d5c1f6



More information about the pld-cvs-commit mailing list