[rply] Do not install rplyConfig.cmake as it's not multilib clean

Richard Hughes rhughes at fedoraproject.org
Thu Jul 25 11:33:08 UTC 2013


commit aebbb568cccc3b324a4613a8909547fbefe51c17
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Jul 25 12:28:35 2013 +0100

    Do not install rplyConfig.cmake as it's not multilib clean
    
    The three varibles set in the file are not useful anyway, so just delete it
    rather than shipping an empty file.
    
    This fixes the critical warnings emitted from RPMdiff.

 rply.spec |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/rply.spec b/rply.spec
index aa5fca7..c85cf2a 100644
--- a/rply.spec
+++ b/rply.spec
@@ -50,7 +50,7 @@ iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/rplyConfig.cmake
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,7 +84,6 @@ Rply Library Header Files and Link Libraries
 %{_includedir}/%{name}/*
 %{_libdir}/*.so
 %dir %{_datadir}/%{name}/
-%{_datadir}/%{name}/rplyConfig.cmake
 
 %changelog
 * Mon Mar 04 2013 Mario Ceresa mrceresa at gmail.com rply 1.1.2-1


More information about the scm-commits mailing list