fix requirements [release 0.3.13-2mamba;Mon Oct 19 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:07:40 +01:00
parent 9030e5de7e
commit 040d08d8f4

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: pipewire Name: pipewire
Version: 0.3.13 Version: 0.3.13
Release: 1mamba Release: 2mamba
Summary: Multimedia processing graphs Summary: Multimedia processing graphs
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: openmamba Vendor: openmamba
@ -19,7 +19,6 @@ BuildRequires: libglib-devel
BuildRequires: libgst-plugins-base-devel BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel BuildRequires: libgstreamer-devel
BuildRequires: libjack-devel BuildRequires: libjack-devel
#BuildRequires: libpipewire02-devel
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
BuildRequires: libsbc-devel BuildRequires: libsbc-devel
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
@ -27,6 +26,8 @@ BuildRequires: libsystemd-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: libvulkan-devel BuildRequires: libvulkan-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libjack-devel
BuildRequires: libpulseaudio-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -59,7 +60,8 @@ This package contains libraries and header files for developing applications tha
%define __find_provides %{_builddir}/pipewire-%{version}/find_provides.sh %define __find_provides %{_builddir}/pipewire-%{version}/find_provides.sh
cat > %{_builddir}/pipewire-%{version}/find_provides.sh <<_EOF cat > %{_builddir}/pipewire-%{version}/find_provides.sh <<_EOF
#! /bin/sh #! /bin/sh
grep -v %{_libdir}/pipewire-%{majver} | \ grep -v %{_libdir}/pipewire-%{majver}/jack/ | \
grep -v %{_libdir}/pipewire-%{majver}/pulse/ | \
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} %{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
_EOF _EOF
chmod +x %{_builddir}/pipewire-%{version}/find_provides.sh chmod +x %{_builddir}/pipewire-%{version}/find_provides.sh
@ -139,6 +141,9 @@ chmod +x %{_builddir}/pipewire-%{version}/find_requires.sh
%doc NEWS %doc NEWS
%changelog %changelog
* Mon Oct 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.13-2mamba
- fix requirements
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 0.3.13-1mamba * Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 0.3.13-1mamba
- automatic version update by autodist - automatic version update by autodist