[libsidplayfp] Add Obsoletes/Provids sidplay-libs[-devel]

Hans de Goede jwrdegoede at fedoraproject.org
Mon Apr 29 13:17:41 UTC 2013


commit b5ff63e8b345b3be8f542e005f82db9cb48f04bf
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Mon Apr 29 15:21:25 2013 +0200

    Add Obsoletes/Provids sidplay-libs[-devel]

 libsidplayfp.spec |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/libsidplayfp.spec b/libsidplayfp.spec
index cbb7052..e11b5ef 100644
--- a/libsidplayfp.spec
+++ b/libsidplayfp.spec
@@ -1,12 +1,17 @@
 Name:           libsidplayfp
 Version:        1.0.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        SID chip music module playing library
 Group:          System Environment/Libraries
 License:        GPLv2+
 URL:            http://sourceforge.net/projects/sidplay-residfp/
 Source0:        http://downloads.sourceforge.net/sidplay-residfp/%{name}-%{version}.tar.gz
 BuildRequires:  doxygen
+%if 0%{?fedora} >= 19
+# Obsolete old sidplay2 based sidplay (sidplayfp is a continuation of sidplay2)
+Obsoletes:      sidplay-libs < 2.1.1-15
+Provides:       sidplay-libs = 2.1.1-15
+%endif
 
 %description
 This library provides support for playing SID music modules originally
@@ -20,6 +25,11 @@ several plug-ins for versatile audio players.
 Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name}%{?_isa} = %{version}-%{release}
+%if 0%{?fedora} >= 19
+# Obsolete old sidplay2 based sidplay (sidplayfp is a continuation of sidplay2)
+Obsoletes:      sidplay-libs-devel < 2.1.1-15
+Provides:       sidplay-libs-devel = 2.1.1-15
+%endif
 
 %description devel
 These are the files needed for compiling programs that use %{name}.
@@ -73,6 +83,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %changelog
+* Mon Apr 29 2013 Hans de Goede <hdegoede at redhat.com> - 1.0.1-3
+- Add Obsoletes/Provids sidplay-libs[-devel]
+
 * Thu Apr 11 2013 Hans de Goede <hdegoede at redhat.com> - 1.0.1-2
 - Some minor style changes
 - Fix rpmlint warnings about executable files in debuginfo sub-package


More information about the scm-commits mailing list