upgrade to version 1.14

This commit is contained in:
zzm_567 2020-08-19 14:54:28 +08:00 committed by jinzhimin369
parent 3f9fec5a0e
commit b74543582c
3 changed files with 12 additions and 6 deletions

Binary file not shown.

BIN
libxcb-1.14.tar.xz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: libxcb Name: libxcb
Version: 1.13.1 Version: 1.14
Release: 2 Release: 1
Summary: A C binding to the X11 protocol Summary: A C binding to the X11 protocol
License: MIT License: MIT
URL: https://xcb.freedesktop.org/ URL: https://xcb.freedesktop.org/
Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
# This is stolen straight from the pthread-stubs source: # This is stolen straight from the pthread-stubs source:
# http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d # http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d
@ -29,8 +29,8 @@ The %{name}-devel package contains development files for %{name}.
Summary: Documents for %{name} Summary: Documents for %{name}
Buildarch: noarch Buildarch: noarch
Requires: man info Requires: man info
Provides: %{name}-doc Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc Obsoletes: %{name}-doc < %{version}-%{release}
%description help %description help
Man pages and other related documents for %{name}. Man pages and other related documents for %{name}.
@ -49,13 +49,16 @@ autoreconf -ivf
%install %install
%make_install %make_install
install -pm 644 COPYING NEWS README $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} install -pm 644 COPYING NEWS README.md $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
%delete_la %delete_la
%ldconfig_scriptlets %ldconfig_scriptlets
%check
make check
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_docdir}/%{name}-%{version}/COPYING %{_docdir}/%{name}-%{version}/COPYING
@ -75,5 +78,8 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi
%exclude %{_docdir}/%{name}-%{version}/COPYING %exclude %{_docdir}/%{name}-%{version}/COPYING
%changelog %changelog
* Fri Aug 28 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.14-1
- update package to 1.14
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.13.1-2 * Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.13.1-2
- Package init - Package init