Anonymous - 2010-04-05

I ran into a problem building the RPM package for 1.4.5:

error: Installed (but unpackaged) file(s) found:
   /usr/share/base-1.4.5/contrib/SnortUnified/SnortUnified/CVS/Entries
   /usr/share/base-1.4.5/contrib/SnortUnified/SnortUnified/CVS/Repository
   /usr/share/base-1.4.5/contrib/SnortUnified/SnortUnified/CVS/Root
   /usr/share/base-1.4.5/contrib/base-rss-core.php

I fixed this with a minor patch to the spec file:

-- base.spec   2010/04/05 18:37:05     1.3
+++ base.spec   2010/04/05 19:03:08     1.4
@@ -153,6 +153,7 @@
# Install the sub directories INCLUDING the files inside
%__cp -dpR admin %{buildroot}/%{_php_files_target_dir}/
%__cp -dpR contrib %{buildroot}/%{_php_files_target_dir}/
+%__rm -rf %{buildroot}/%{_php_files_target_dir}/contrib/SnortUnified/SnortUnified/CVS
%__cp -dpR help %{buildroot}/%{_php_files_target_dir}/
%__cp -dpR images %{buildroot}/%{_php_files_target_dir}/
%__cp -dpR includes %{buildroot}/%{_php_files_target_dir}/
@@ -377,6 +378,7 @@
%attr(0644,apache,apache) /%{_php_files_target_dir}/base_user.php
%attr(0644,apache,apache) /%{_php_files_target_dir}/contrib/barnyard-base.patch
%attr(0644,apache,apache) /%{_php_files_target_dir}/contrib/base-rss.php
+%attr(0644,apache,apache) /%{_php_files_target_dir}/contrib/base-rss-core.php
%attr(0644,apache,apache) /%{_php_files_target_dir}/contrib/custom_base_footer.php
%attr(0644,apache,apache) /%{_php_files_target_dir}/help/base_app_faq.php
%attr(0644,apache,apache) /%{_php_files_target_dir}/help/base_help.php

There may be a cleaner way but that worked for me.