Accepting request 813156 from network:synchronization:files

- Update to version 0.43.0
- Removed 0001-Remove-backward-compatibility-option-for-newer-cmake.patch

OBS-URL: https://build.opensuse.org/request/show/813156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_csync?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2020-06-11 08:07:08 +00:00 committed by Git OBS Bridge
commit ad6450b1e4
5 changed files with 21 additions and 64 deletions

View File

@ -1,25 +0,0 @@
From 21dfcf6343cec2feb0e4ebd8b9e22a3aa39e5d9d Mon Sep 17 00:00:00 2001
From: Jim McDonough <jmcd@samba.org>
Date: Mon, 10 Mar 2014 10:16:28 -0400
Subject: [PATCH 1/2] Remove backward compatibility option for newer cmake
builds to work.
---
src/CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6732a3f..40225e4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -41,7 +41,6 @@ include_directories(
${PAM_CSYNC_PRIVATE_INCLUDE_DIRS}
)
-set(CMAKE_BACKWARDS_COMPATIBILITY "2.2")
macro_add_plugin(${PAM_CSYNC_LIBRARY} ${pam_SRCS})
target_link_libraries(${PAM_CSYNC_LINK_LIBRARIES})
--
1.8.4.5

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93d50e7a9f150dd069a73326354b46002054bc1bfafc3cfd263c0b85a1ef9976
size 28544

3
pam_csync-0.43.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c23248e2c311232d7d22087481baf4b310f113171be7cff5140400ba28810ac
size 32103

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 10 08:55:47 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 0.43.0
- Removed 0001-Remove-backward-compatibility-option-for-newer-cmake.patch
-------------------------------------------------------------------
Mon Mar 16 11:36:19 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package pam_csync
#
# Copyright (c) 2015 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -21,16 +21,14 @@ BuildRequires: cmake
BuildRequires: libcsync-devel
BuildRequires: libiniparser-devel
BuildRequires: pam-devel
Version: 0.42.0
Version: 0.43.0
Release: 0
Summary: A PAM module for roaming home directories
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Libraries
Url: http://www.csync.org/
Source0: %{name}-%{version}.tar.bz2
URL: http://www.csync.org/
Source0: https://gitlab.com/csync/pam_csync/-/archive/%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
# PATCH-FIX-UPSTREAM 0001-Remove-backward-compatibility-option-for-newer-cmake.patch
Patch1: 0001-Remove-backward-compatibility-option-for-newer-cmake.patch
# PATCH-FIX-UPSTREAM 0002-Update-FSF-address.patch
Patch2: 0002-Update-FSF-address.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -49,40 +47,18 @@ Authors:
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%autosetup -p1
%build
if test ! -d "build"; then
mkdir build
fi
pushd build
cmake \
-DCMAKE_C_FLAGS:STRING="%{optflags}" \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
%if %{_lib} == lib64
-DLIB_SUFFIX=64 \
%endif
%{_builddir}/%{name}-%{version}
%__make %{?jobs:-j%jobs} VERBOSE=1
popd
%cmake
%cmake_build
%install
pushd build
make DESTDIR=%{buildroot} install
popd
%clean
%__rm -rf %{buildroot}
%cmake_install
%files
%defattr(-,root,root)
%doc COPYING FAQ README
%doc FAQ README
%license COPYING
/%{_lib}/security/pam_csync.so
%dir %{_sysconfdir}/security
%config(noreplace) %{_sysconfdir}/security/pam_csync.conf