diff --git a/taglib.changes b/taglib.changes index 6fac72f..10ef06f 100644 --- a/taglib.changes +++ b/taglib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun May 22 22:29:07 UTC 2011 - pascal.bleser@opensuse.org + +- make taglib become a package again, that has only one duty, to require + libtag1 and libtag_c0 for packages that still require taglib instead of + the new package names libtag1 and libtag_c0 + ------------------------------------------------------------------- Tue May 17 20:55:51 UTC 2011 - asterios.dramis@gmail.com diff --git a/taglib.spec b/taglib.spec index e6a20e3..7740887 100644 --- a/taglib.spec +++ b/taglib.spec @@ -41,6 +41,8 @@ BuildRequires: pkg-config BuildRequires: update-desktop-files %endif BuildRequires: zlib-devel +Requires: libtag1 = %{version}-%{release} +Requires: libtag_c0 = %{version}-%{release} %description TagLib is a library for reading and editing the meta-data of several popular @@ -135,6 +137,11 @@ cp -a AUTHORS COPYING.LGPL COPYING.MPL NEWS doc/html/ examples/ %{buildroot}%{_d %fdupes -s %{buildroot} +echo <README.taglib +This package only acts as a placeholder until all packages that use taglib +have upgraded to the new package names libtag1 and libtag_c0. +EOF + %check # check the library #pushd tests @@ -142,7 +149,7 @@ cp -a AUTHORS COPYING.LGPL COPYING.MPL NEWS doc/html/ examples/ %{buildroot}%{_d #popd %clean -rm -rf %{buildroot} +%{?buildroot:%__rm -rf "%{buildroot}"} %post -n libtag1 -p /sbin/ldconfig @@ -154,11 +161,13 @@ rm -rf %{buildroot} %files -n libtag1 %defattr(-,root,root,-) -%{_libdir}/libtag.so.1* +%{_libdir}/libtag.so.1 +%{_libdir}/libtag.so.1.* %files -n libtag_c0 %defattr(-,root,root,-) -%{_libdir}/libtag_c.so.0* +%{_libdir}/libtag_c.so.0 +%{_libdir}/libtag_c.so.0.* %files -n libtag-devel %defattr(-,root,root,-) @@ -169,4 +178,8 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/*.pc %{_datadir}/susehelp/ +%files +%defattr(-,root,root,-) +%doc README.taglib + %changelog