use %make_build %ldconfig_scriptlets
This commit is contained in:
Rex Dieter 2018-05-27 07:41:15 -05:00
parent b589032b06
commit a1fc4a5ef2
3 changed files with 13 additions and 11 deletions

5
.gitignore vendored
View File

@ -1,5 +1,2 @@
/qtsvg-opensource-src-5.9.1.tar.xz
/qtsvg-opensource-src-5.9.2.tar.xz
/qtsvg-opensource-src-5.9.3.tar.xz
/qtsvg-everywhere-src-5.10.0.tar.xz
/qtsvg-everywhere-src-5.10.1.tar.xz
/qtsvg-everywhere-src-5.11.0.tar.xz

View File

@ -2,14 +2,16 @@
Summary: Qt5 - Support for rendering and displaying SVG
Name: qt5-%{qt_module}
Version: 5.10.1
Version: 5.11.0
Release: 1%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
Source0: https://download.qt.io/official_releases/qt/5.10/%{version}/submodules/qtsvg-everywhere-src-%{version}.tar.xz
%global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
## uptreamable patches
Patch0: qtsvg-opensource-src-5.6.0-beta1-example-install.patch
BuildRequires: qt5-qtbase-devel >= %{version}
@ -44,7 +46,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build
%{qmake_qt5}
make %{?_smp_mflags}
%make_build
%install
@ -63,11 +65,10 @@ done
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license LICENSE.LGPL*
%license LICENSE.*
%{_qt5_libdir}/libQt5Svg.so.5*
%{_qt5_plugindir}/iconengines/libqsvgicon.so
%{_qt5_plugindir}/imageformats/libqsvg.so
@ -87,6 +88,10 @@ popd
%changelog
* Sun May 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
- 5.11.0
- use %%make_build %%ldconfig_scriptlets
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
- 5.10.1

View File

@ -1 +1 @@
SHA512 (qtsvg-everywhere-src-5.10.1.tar.xz) = 4da434da5391f76f620df2689bc3de1e4dcb79caf6479839ecba0f2d9ce878b798d96e9e052f53d671d833adaccd7c70ae01398cab5e05121bcea60ff724b088
SHA512 (qtsvg-everywhere-src-5.11.0.tar.xz) = 8a6ec3dbdfae31e34d022d2bd3372b3a16be1ca88eb48159918a027f64094e33b1cdd514e2f800dcf6aad5d44c3cf23e4a8fbc5e7fd7e05e9595385ea9af9056