rpms/libaacs/F-19 libaacs.spec,1.7,1.8

Xavier Bachelot xavierb at rpmfusion.org
Sun Sep 8 22:18:45 CEST 2013


Author: xavierb

Update of /cvs/free/rpms/libaacs/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv6947/F-19

Modified Files:
	libaacs.spec 
Log Message:
Better rpath fix


Index: libaacs.spec
===================================================================
RCS file: /cvs/free/rpms/libaacs/F-19/libaacs.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- libaacs.spec	23 Aug 2013 09:28:36 -0000	1.7
+++ libaacs.spec	8 Sep 2013 20:18:14 -0000	1.8
@@ -8,7 +8,7 @@
 %if %{snapshot}
 Release:        0.3.%{tarball_date}git%{git_short}%{?dist}
 %else
-Release:        2%{?dist}
+Release:        3%{?dist}
 %endif
 Summary:        Open implementation of AACS specification
 Group:          System Environment/Libraries
@@ -34,7 +34,6 @@
 BuildRequires:  libgcrypt-devel
 BuildRequires:  flex
 BuildRequires:  bison
-BuildRequires:  chrpath
 
 
 %description
@@ -65,6 +64,8 @@
 autoreconf -vif
 %endif
 %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}
 
 
@@ -72,7 +73,6 @@
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/aacs_info
 
 
 %clean
@@ -99,6 +99,9 @@
 
 
 %changelog
+* Sun Sep 08 2013 Xavier Bachelot <xavier at bachelot.org> 0.6.0-3
+- Better rpath fix.
+
 * Wed Aug 21 2013 Xavier Bachelot <xavier at bachelot.org> 0.6.0-2
 - Fix rpath issue with aacs_info.
 


More information about the rpmfusion-commits mailing list