]> git.pld-linux.org Git - packages/mongodb.git/commitdiff
Remove duplicate header files in %install
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 9 Oct 2012 07:39:52 +0000 (09:39 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Tue, 9 Oct 2012 07:39:52 +0000 (09:39 +0200)
mongodb.spec

index 63a84ef701b8aad51c0c1f2a7bf8a3d0e16aaded..bf7aac352942c559f354f76a709df0075fa3b09e 100644 (file)
@@ -178,6 +178,11 @@ cp -p debian/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 touch $RPM_BUILD_ROOT%{_var}/log/mongo/mongod.log
 
+# for some reason these are installed twice, remove unwanted copies
+for f in $RPM_BUILD_ROOT%{_includedir}/mongo/* ; do
+       rm -r "$RPM_BUILD_ROOT%{_includedir}/$(basename $f)"
+done
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.06109 seconds and 4 git commands to generate.