| |
@@ -1,18 +1,18 @@
|
| |
Name: pam_yubico
|
| |
Version: 2.26
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: A Pluggable Authentication Module for yubikeys
|
| |
|
| |
Group: System Environment/Base
|
| |
License: BSD
|
| |
- URL: http://opensource.yubico.com/yubico-pam/
|
| |
- Source0: http://opensource.yubico.com/yubico-pam/releases/pam_yubico-%{version}.tar.gz
|
| |
- #Patch0: pam_yubico-pamuid_t.patch
|
| |
+ URL: https://developers.yubico.com/yubico-pam/
|
| |
+ Source0: https://developers.yubico.com/yubico-pam/Releases/pam_yubico-%{version}.tar.gz
|
| |
|
| |
BuildRequires: gcc
|
| |
BuildRequires: ykclient-devel >= 2.15
|
| |
BuildRequires: libyubikey-devel >= 1.5
|
| |
BuildRequires: pam-devel ykpers-devel openldap-devel automake
|
| |
+ Requires: pam
|
| |
|
| |
%description
|
| |
This is pam_yubico, a pluggable authentication module that can be used with
|
| |
@@ -20,30 +20,31 @@
|
| |
|
| |
%prep
|
| |
%setup -q
|
| |
- #%patch0 -p1
|
| |
|
| |
%build
|
| |
autoconf
|
| |
%configure --libdir=/%{_lib} \
|
| |
--with-pam-dir=/%{_lib}/security/
|
| |
- make %{?_smp_mflags}
|
| |
+ %make_build
|
| |
|
| |
%install
|
| |
- rm -rf $RPM_BUILD_ROOT
|
| |
- make install DESTDIR=$RPM_BUILD_ROOT
|
| |
+ %make_install
|
| |
rm $RPM_BUILD_ROOT/%{_lib}/security/pam_yubico.la
|
| |
|
| |
%files
|
| |
- %doc NEWS README COPYING ChangeLog
|
| |
+ %license COPYING
|
| |
+ %doc NEWS README ChangeLog
|
| |
/%{_lib}/security/pam_yubico.so
|
| |
%{_bindir}/ykpamcfg
|
| |
%{_mandir}/man1/ykpamcfg.1.gz
|
| |
%{_mandir}/man8/pam_yubico.8.gz
|
| |
|
| |
- #%{_includedir}/util.h
|
| |
- #%{_includedir}/drop_privs.h
|
| |
-
|
| |
%changelog
|
| |
+ * Fri Nov 16 2018 Orion Poplawski <orion@nwra.com> - 2.26-2
|
| |
+ - Update URLs
|
| |
+ - Require pam
|
| |
+ - Modernize specfile
|
| |
+
|
| |
* Mon Jul 23 2018 Nick Bebout <nb@fedoraproject.org> - 2.26-1
|
| |
- Update to 2.26
|
| |
|
| |
Update URLs
Require pam
Modernize specfile
Use %license