[qmmp] move the unversioned libraries symlinks to -devel subpackage

Karel Volný kvolny at fedoraproject.org
Tue Jul 31 13:26:11 UTC 2012


commit 451008f5cb213052f0b7b80121fd763d7d6e0d46
Author: Karel Volný <kvolny at redhat.com>
Date:   Tue Jul 31 15:25:37 2012 +0200

    move the unversioned libraries symlinks to -devel subpackage

 qmmp.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/qmmp.spec b/qmmp.spec
index ebba267..4dfc725 100644
--- a/qmmp.spec
+++ b/qmmp.spec
@@ -1,6 +1,6 @@
 Name:		qmmp
 Version:	0.6.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Qt-based multimedia player
 
 Group:		Applications/Multimedia
@@ -32,8 +32,9 @@ Requires(post):	/sbin/ldconfig
 Requires(pre):	/sbin/ldconfig
 
 %package devel
-Summary:	Header files for qmmp
+Summary:	Development files for qmmp
 Group:		Development/Libraries
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 
 %description
 This program is an audio-player, written with help of Qt library.
@@ -67,7 +68,7 @@ Main opportunities:
 	* lyrics support
 
 %description devel
-QMMP is Qt-based audio player. This package contains its header files.
+QMMP is Qt-based audio player. This package contains its development files.
 
 %prep
 %setup -q
@@ -105,7 +106,7 @@ rm -rf %{buildroot}
 %doc AUTHORS ChangeLog ChangeLog.rus COPYING README README.RUS
 %{_bindir}/qmmp
 %{_libdir}/qmmp
-%{_libdir}/libqmmp*
+%{_libdir}/libqmmp*.so.*
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/applications/%{name}_cue.desktop
 %{_datadir}/applications/%{name}_dir.desktop
@@ -116,6 +117,7 @@ rm -rf %{buildroot}
 %files devel
 %{_includedir}/*
 %{_libdir}/pkgconfig/qmmp*
+%{_libdir}/libqmmp*.so
 
 %post
 /sbin/ldconfig
@@ -133,6 +135,9 @@ fi
 
 
 %changelog
+* Tue Jul 31 2012 Karel Volný <kvolny at redhat.com> 0.6.2-2
+- move the unversioned libraries symlinks to -devel subpackage
+
 * Mon Jul 30 2012 Karel Volný <kvolny at redhat.com> 0.6.2-1
 - new version
 - see the upstream changelog at http://qmmp.ylsoftware.com/index_en.php


More information about the scm-commits mailing list