diff --git a/libshout.spec b/libshout.spec index 42662c4..7d856cb 100644 --- a/libshout.spec +++ b/libshout.spec @@ -24,7 +24,7 @@ License: LGPL-2.1-or-later Group: Productivity/Multimedia/Sound/Utilities URL: https://icecast.org/ #Git-Clone: https://gitlab.xiph.org/xiph/icecast-libshout/ -Source: https://downloads.xiph.org/releases/libshout/%{name}-%{version}.tar.gz +Source: https://downloads.xiph.org/releases/libshout/%name-%version.tar.gz Source1: baselibs.conf BuildRequires: libtool BuildRequires: pkgconfig @@ -50,7 +50,7 @@ data, and prevents bad data from getting to the Icecast server. Summary: Development files for libshout, an Icecast communication library Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libshout3 = %{version} +Requires: libshout3 = %version %description devel This package contains the include files needed to develop @@ -67,25 +67,25 @@ autoreconf --force --install %install %make_install # remove unneeded files -find %{buildroot} -type f -name "*.la" -delete -print -rm -r "%{buildroot}/%{_datadir}/doc/%{name}" +find %buildroot -type f -name "*.la" -delete -print +rm -r "%buildroot/%_datadir/doc/%name" # remove (possibly) unused ckport definitions (use libabigail instead?) -rm -R "%{buildroot}/%{_libdir}/ckport" +rm -R "%buildroot/%_libdir/ckport" %post -n libshout3 -p /sbin/ldconfig %postun -n libshout3 -p /sbin/ldconfig %files -n libshout3 -%{_libdir}/*.so.3* +%_libdir/*.so.3* %files devel %doc README doc/*.xml examples/*.c %license COPYING -%{_bindir}/shout -%{_libdir}/*.so -%{_includedir}/shout -%{_mandir}/man1/shout.1%{?ext_man} -%{_datadir}/aclocal/*.m4 -%{_libdir}/pkgconfig/*.pc +%_bindir/shout +%_libdir/*.so +%_includedir/shout +%_mandir/man1/shout.1%{?ext_man} +%_datadir/aclocal/*.m4 +%_libdir/pkgconfig/*.pc %changelog