Small clean up

epel9 imports/e9/libiec61883-1.2.0-29.el9
Simone Caronni 3 years ago
parent 11f7b392f4
commit a2ca4cc5e7

@ -1,7 +1,7 @@
Summary: Streaming library for IEEE1394
Name: libiec61883
Version: 1.2.0
Release: 28%{?dist}
Release: 29%{?dist}
License: LGPLv2+
Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz
# Fedora specific patches.
@ -11,9 +11,12 @@ Patch1: libiec61883-channel-allocation-without-local-node-rw.patch
URL: http://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883
ExcludeArch: s390 s390x
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
# Works only with newer libraw1394 versions
BuildRequires: libraw1394-devel
BuildRequires: libtool
BuildRequires: make
%description
@ -41,17 +44,14 @@ Utilities that make use of iec61883
%autosetup -p1
%build
autoreconf -vif
%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_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets
find %{buildroot} -name '*.la' -delete
%files
%doc AUTHORS COPYING NEWS README
@ -68,6 +68,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_mandir}/man1/*.1*
%changelog
* Wed May 25 2022 Simone Caronni <negativo17@gmail.com> - 1.2.0-29
- Rebuild autotools scripts to avoid running sed.
- Drop ldconfig scriptlets.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save