drop needless ldconfig scriptlets

- drop deprecated .spec tags
- use %qmake_qt5 macro
f38
Rex Dieter 10 years ago
parent 644ce230b7
commit c2da3654f5

@ -1,11 +1,10 @@
Summary: Asynchronous Python 3 Bindings for Qt 5 Summary: Asynchronous Python 3 Bindings for Qt 5
Name: pyotherside Name: pyotherside
Version: 1.4.0 Version: 1.4.0
Release: 3%{?dist} Release: 4%{?dist}
Source0: http://thp.io/2011/pyotherside/%{name}-%{version}.tar.gz Source0: http://thp.io/2011/pyotherside/%{name}-%{version}.tar.gz
URL: http://thp.io/2011/pyotherside/ URL: http://thp.io/2011/pyotherside/
License: ISC License: ISC
Group: Development/Libraries
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Gui)
@ -22,7 +21,7 @@ A QML Plugin that provides access to a Python 3 interpreter from QML.
%setup -q %setup -q
%build %build
%{_qt5_qmake} %{qmake_qt5}
make %{?_smp_mflags} make %{?_smp_mflags}
%check %check
@ -31,18 +30,18 @@ xvfb-run ./tests/tests
%install %install
make INSTALL_ROOT=%{buildroot} install make INSTALL_ROOT=%{buildroot} install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root)
%doc README LICENSE %doc README LICENSE
%dir %{_libdir}/qt5/qml/io/ %dir %{_libdir}/qt5/qml/io/
%dir %{_libdir}/qt5/qml/io/thp/ %dir %{_libdir}/qt5/qml/io/thp/
%{_libdir}/qt5/qml/io/thp/pyotherside %{_libdir}/qt5/qml/io/thp/pyotherside
%changelog %changelog
* Fri Apr 10 2015 Rex Dieter <rdieter@fedoraproject.org> 1.4.0-4
- drop needless ldconfig scriptlets
- drop deprecated .spec tags
- use %%qmake_qt5 macro
* Fri Apr 10 2015 Martin Kolman <mkolman@redhat.com> - 1.4.0-3 * Fri Apr 10 2015 Martin Kolman <mkolman@redhat.com> - 1.4.0-3
- fix QML plugin directory ownership - fix QML plugin directory ownership

Loading…
Cancel
Save