Compare commits
10 Commits
3311b2d60c
...
93b4bcfe21
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93b4bcfe21 | ||
|
|
dcd58b4af6 | ||
|
|
736985e4f0 | ||
|
|
6ee50f82f4 | ||
|
|
412a2031be | ||
|
|
419928e48c | ||
|
|
6a3d41d90d | ||
|
|
4f94966a66 | ||
|
|
65a4c1f09a | ||
|
|
536a041555 |
BIN
ykpers-1.20.0.tar.gz
Normal file
BIN
ykpers-1.20.0.tar.gz
Normal file
Binary file not shown.
13
ykpers-args-extern.patch
Normal file
13
ykpers-args-extern.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- ykpers-args.h 2019-02-19 13:29:54.000000000 +0100
|
||||||
|
+++ ykpers-args.h.patch 2020-02-14 13:27:53.624129087 +0100
|
||||||
|
@@ -33,8 +33,8 @@
|
||||||
|
|
||||||
|
#include "ykpers.h"
|
||||||
|
|
||||||
|
-const char *usage;
|
||||||
|
-const char *optstring;
|
||||||
|
+extern const char *usage;
|
||||||
|
+extern const char *optstring;
|
||||||
|
|
||||||
|
int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
|
||||||
|
size_t oathid_len, const char **infname,
|
||||||
71
ykpers.spec
Normal file
71
ykpers.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
Name: ykpers
|
||||||
|
Version: 1.20.0
|
||||||
|
Release: 5
|
||||||
|
Summary: The YubiKey Personalization package contains a library and command line tool used to personalize
|
||||||
|
License: BSD
|
||||||
|
URL: https://developers.yubico.com/yubikey-personalization/
|
||||||
|
Source0: https://developers.yubico.com/yubikey-personalization/Releases/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: ykpers-args-extern.patch
|
||||||
|
|
||||||
|
BuildRequires: libusb-devel gcc libyubikey-devel systemd-udev chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
The YubiKey Personalization package contains a library and command line tool used to personalize
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: devel pacakge for ykpers
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%description devel
|
||||||
|
The YubiKey Personalization package contains a library and command line tool used to personalize
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}/
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-static=no --with-udevrulesdir=/usr/lib/udev/rules.d
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm -rf %{buildroot}/%{_libdir}/*.la
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/*
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%preun
|
||||||
|
%post
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/*
|
||||||
|
%{_libdir}/libykpers-1.so.*
|
||||||
|
%{_udevrulesdir}/69-yubikey.rules
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/libykpers-1.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
%{_libdir}/libykpers-1.so
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Nov 10 2021 xu_ping <xuping33@h-partners.com> - 1.20.0-5
|
||||||
|
- Fix source0 url
|
||||||
|
|
||||||
|
* Wed Sep 08 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.20.0-4
|
||||||
|
- Fix not striped and rpath problem
|
||||||
|
|
||||||
|
* Fri 30 Jul 2021 zhangtao <zhangtao221@huawei.com> - 1.20.0-3
|
||||||
|
- fix gcc upgrade causes compilation failure
|
||||||
|
|
||||||
|
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.20.0-2
|
||||||
|
- Completing build dependencies to define %{_udevrulesdir} macros
|
||||||
|
|
||||||
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user