[packages/libmediainfo] - keep original libmediainfo.pc in build tree to allow post-build check
qboosh
qboosh at pld-linux.org
Sat Mar 15 16:13:49 CET 2014
commit 605b9ba85e5fd3403f374b2384a7c7cca2f2a32c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 15 16:16:55 2014 +0100
- keep original libmediainfo.pc in build tree to allow post-build check
libmediainfo.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libmediainfo.spec b/libmediainfo.spec
index 00e475a..08bea03 100644
--- a/libmediainfo.spec
+++ b/libmediainfo.spec
@@ -147,9 +147,10 @@ for i in MediaInfo MediaInfoDLL; do
install -m 644 Source/$i/*.h $RPM_BUILD_ROOT%{_includedir}/$i
done
-%{__sed} -i -e 's|Version: .*|Version: %{version}|g' Project/GNU/Library/libmediainfo.pc
install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
install Project/GNU/Library/libmediainfo.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
+# fix empty Version tag
+%{__sed} -i -e 's|Version: .*|Version: %{version}|g' $RPM_BUILD_ROOT%{_pkgconfigdir}/libmediainfo.pc
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmediainfo.git/commitdiff/605b9ba85e5fd3403f374b2384a7c7cca2f2a32c
More information about the pld-cvs-commit
mailing list