rpms/libdca/devel libdca.spec,1.6,1.7

Nicolas Chauvet kwizart at rpmfusion.org
Thu May 28 14:43:44 CEST 2015


Author: kwizart

Update of /cvs/free/rpms/libdca/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3828

Modified Files:
	libdca.spec 
Log Message:
Fix build in rawhide - rfbz#3674



Index: libdca.spec
===================================================================
RCS file: /cvs/free/rpms/libdca/devel/libdca.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- libdca.spec	31 Aug 2014 04:17:18 -0000	1.6
+++ libdca.spec	28 May 2015 12:43:44 -0000	1.7
@@ -1,14 +1,13 @@
 Summary: DTS Coherent Acoustics decoder library
 Name: libdca
 Version: 0.0.5
-Release: 8%{?dist}
+Release: 9%{?dist}
 URL: http://www.videolan.org/developers/libdca.html
 Group: System Environment/Libraries
 Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2
 Patch0: libdca-0.0.5-relsymlinks.patch
 Patch1: libdca-0.0.5-strict-aliasing.patch
 License: GPLv2+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 libdca is a free library for decoding DTS Coherent Acoustics streams. It is
@@ -49,38 +48,35 @@
 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
 # Force PIC as applications fail to recompile against the lib on x86_64 without
-%{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS -fPIC"
+%{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS -fPIC" LIBS="-lm"
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
 rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_libdir}/%{name}.so.*
 
 %files tools
-%defattr(-,root,root,-)
 %{_bindir}/*
 %{_mandir}/man1/*
 
 %files devel
-%defattr(-,root,root,-)
 %doc TODO doc/%{name}.txt
 %{_libdir}/pkgconfig/libd??.pc
 %{_includedir}/d??.h
 %{_libdir}/%{name}.so
 
 %changelog
+* Thu May 28 2015 Nicolas Chauvet <kwizart at gmail.com> - 0.0.5-9
+- Fix build with rawhide - rfbz#3674
+- Spec file clean-up
+
 * Sun Aug 31 2014 Sérgio Basto <sergio at serjux.com> - 0.0.5-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the rpmfusion-commits mailing list