optimization the spec

This commit is contained in:
songnannan 2020-01-09 15:31:58 +08:00
parent 4576c4d99f
commit 1a77bae6ea
2 changed files with 8 additions and 4 deletions

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: libcacard Name: libcacard
Version: 2.7.0 Version: 2.7.0
Release: 1 Release: 2
Epoch: 3 Epoch: 3
Summary: Common Access Card(CAC) library Summary: Common Access Card(CAC) library
License: LGPLv2+ License: LGPLv2+
URL: https://gitlab.freedesktop.org/spice/libcacard URL: https://gitlab.freedesktop.org/spice/libcacard
Source0: https://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz Source0: https://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz
Source1: https://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz.asc Source1: https://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz.asc
Source2: gpgkey-15B5C33D.gpg
Patch0: libcacard-2.7.0-caching-keys.patch Patch0: libcacard-2.7.0-caching-keys.patch
BuildRequires: gcc glib2-devel nss-devel softhsm opensc BuildRequires: gcc glib2-devel nss-devel softhsm opensc
@ -29,7 +28,6 @@ This package provides libraries and header files for the development of libcacar
%package_help %package_help
%prep %prep
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
@ -59,5 +57,11 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
%doc NEWS ChangeLog README.md %doc NEWS ChangeLog README.md
%changelog %changelog
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7.0-1 * Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: optimization the spec
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-1
- Package init - Package init