Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libiec61883.git#bfccc40484fa0e75a6113c27a51932ff213288e4
This commit is contained in:
DistroBaker 2021-01-05 16:18:07 +00:00
parent e34e81b152
commit e593289ebc

View File

@ -1,7 +1,7 @@
Summary: Streaming library for IEEE1394
Name: libiec61883
Version: 1.2.0
Release: 24%{?dist}
Release: 25%{?dist}
License: LGPLv2+
Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz
# Fedora specific patches.
@ -14,6 +14,7 @@ ExcludeArch: s390 s390x
BuildRequires: gcc
# Works only with newer libraw1394 versions
BuildRequires: libraw1394-devel
BuildRequires: make
%description
The libiec61883 library provides an higher level API for streaming DV,
@ -37,18 +38,16 @@ Requires: %{name} = %{version}-%{release}
Utilities that make use of iec61883
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@ -69,6 +68,14 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_mandir}/man1/*.1*
%changelog
* Tue Jan 05 2021 Nils Philippsen <nils@tiptoe.de> - 1.2.0-25
- Indent consistently
- Use %%autosetup
* Tue Jan 05 2021 Tom Stellard <tstellar@redhat.com> - 1.2.0-25
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild