SHA256
1
0
forked from pool/fscrypt

Accepting request 1072103 from filesystems

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1072103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fscrypt?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-03-15 17:56:26 +00:00 committed by Git OBS Bridge
commit d8cffed6aa
3 changed files with 10 additions and 2 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
pam-fscrypt

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 8 11:28:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
- move to pam_vendordir
- add baselibs
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 15 13:58:22 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Feb 15 13:58:22 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -26,6 +26,7 @@ URL: https://github.com/google/fscrypt
Source: https://github.com/google/fscrypt/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/google/fscrypt/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz Source1: vendor.tar.xz
Source2: %name.pam Source2: %name.pam
Source9: baselibs.conf
BuildRequires: golang-packaging BuildRequires: golang-packaging
BuildRequires: m4 BuildRequires: m4
BuildRequires: pam-devel BuildRequires: pam-devel
@ -63,7 +64,7 @@ This package holds the pam module for fscrypt.
%make_install %{make_args} %make_install %{make_args}
# not needed on SUSE # not needed on SUSE
rm -rvf %{buildroot}%{_datadir}/pam-configs rm -rvf %{buildroot}%{_datadir}/pam-configs
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/%{name} install -D -m 644 %{SOURCE2} %{buildroot}%{_pam_vendordir}/%{name}
%files %files
%license LICENSE %license LICENSE
@ -74,6 +75,6 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/%{name}
%files -n pam-fscrypt %files -n pam-fscrypt
%license LICENSE %license LICENSE
%{_pam_moduledir}/pam_fscrypt.so %{_pam_moduledir}/pam_fscrypt.so
%{_sysconfdir}/pam.d/%{name} %{_pam_vendordir}/%{name}
%changelog %changelog