Compare commits
No commits in common. "93b4bcfe2107bb732498ef81cb9fd4a823eafbad" and "3311b2d60c6141bb73e13b9af07845889182c079" have entirely different histories.
93b4bcfe21
...
3311b2d60c
Binary file not shown.
@ -1,13 +0,0 @@
|
|||||||
--- 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
71
ykpers.spec
@ -1,71 +0,0 @@
|
|||||||
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