optimization the spec

This commit is contained in:
songnannan 2020-01-09 14:08:39 +08:00
parent 8cb8560a61
commit 635b4cb4b9

View File

@ -1,14 +1,11 @@
Name: libart_lgpl Name: libart_lgpl
Version: 2.3.21 Version: 2.3.21
Release: 22 Release: 23
Summary: A library for high-performance 2D graphics Summary: A library for high-performance 2D graphics
License: LGPLv2+ License: LGPLv2+
URL: https://www.levien.com/libart/ URL: https://www.levien.com/libart/
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.bz2 Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
Source1: art_config.h
#Patch0 comes from Fedora 29
Patch0: libart-multilib.patch
BuildRequires: gcc libtool pkgconfig automake autoconf BuildRequires: gcc libtool pkgconfig automake autoconf
@ -37,10 +34,6 @@ autoreconf -i
%install %install
%make_install %make_install
pushd $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl
mv art_config.h art_config-%{__isa_bits}.h
cp %{SOURCE1} .
popd
%delete_la %delete_la
%check %check
@ -67,7 +60,13 @@ make check
%doc README NEWS %doc README NEWS
%changelog %changelog
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> -2.3.21-22 * Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.3.21-23
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: optimization the spec
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.3.21-22
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA
- SUG:NA - SUG:NA