From d9c999a5299124534b742daec572c4a85900a97c Mon Sep 17 00:00:00 2001 From: sparky Date: Sun, 10 Jan 2010 00:22:26 +0000 Subject: [PATCH] - versioned Qt*-devel - mark library symlink as %ghost - explicit version in includedir; but ! %{_includedir}/telepathy-1.0 belongs to libtelepathy-devel already (and to telepathy-glib-devel as well) Changed files: telepathy-qt4.spec -> 1.3 --- telepathy-qt4.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/telepathy-qt4.spec b/telepathy-qt4.spec index 37846bc..b5b5ffd 100644 --- a/telepathy-qt4.spec +++ b/telepathy-qt4.spec @@ -1,4 +1,6 @@ + %define qt_ver 4.6.0 + Summary: Telepathy Qt4 Summary(pl.UTF-8): Telepathy Qt4 Name: telepathy-qt4 @@ -12,8 +14,8 @@ URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4 BuildRequires: QtCore-devel >= %{qt_ver} BuildRequires: QtDBus-devel >= %{qt_ver} BuildRequires: QtGui-devel >= %{qt_ver} -BuildRequires: QtNetwork-devel -BuildRequires: QtTest-devel +BuildRequires: QtNetwork-devel >= %{qt_ver} +BuildRequires: QtTest-devel >= %{qt_ver} BuildRequires: cmake >= 2.6.2 BuildRequires: graphviz BuildRequires: pkgconfig @@ -73,14 +75,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README -%attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.* +%attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4.so.? %files devel %defattr(644,root,root,755) %doc doc/html %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so %{_libdir}/libtelepathy-qt4.la -%{_includedir}/telepathy-*.* +%{_includedir}/telepathy-1.0 %{_pkgconfigdir}/TelepathyQt4.pc %files static -- 2.43.0