Project

General

Profile

Bug #188

building RPM from .spec file fails

Added by almost 13 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

Resolution:

Description

Building a binary rpm from
prewikka-0.9.8/build/bdist.linux-i686/rpm/SPECS/prewikka.spec
and prewikka-0.9.8.tar.gz fails on my Centos-4.4 system ...

rpmbuild -bb prewikka.spec
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/prewikka-buildroot
error: Installed (but unpackaged) file(s) found:
   /etc/prewikka/prewikka.conf
   /etc/prewikka/prewikka.conf-dist

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /etc/prewikka/prewikka.conf
   /etc/prewikka/prewikka.conf-dist

The following patch fixes the build, but may not be
the best/"most correct" solution.

--- prewikka-0.9.8/build/bdist.linux-i686/rpm/SPECS/prewikka.spec-old   2007-01-03 00:32:56.000000000 -1000
+++ prewikka-0.9.8/build/bdist.linux-i686/rpm/SPECS/prewikka.spec       2007-01-03 00:30:27.000000000 -1000
@@ -31,4 +31,5 @@
 rm -rf $RPM_BUILD_ROOT

 %files -f INSTALLED_FILES
+/etc/prewikka/*
 %defattr(-,root,root)

History

#1 Updated by Yoann VANDOORSELAERE almost 13 years ago

Edit summary for readability.

#2 Updated by Yoann VANDOORSELAERE over 10 years ago

  • Project changed from PRELUDE SIEM to Prewikka
  • Category deleted (5)

#3 Updated by Jean-Charles ROGEZ over 7 years ago

  • Status changed from New to Closed
  • Assignee changed from Yoann VANDOORSELAERE to Jean-Charles ROGEZ
  • Target version set to 111
  • % Done changed from 0 to 100

We now provide spec files for RHEL and CentOS 6. CentOS 4 is no longer supported.

Ticket closed.

#4 Updated by Thomas ANDREJAK almost 4 years ago

  • Target version changed from 111 to Prelude OSS 1.0.1

Also available in: Atom PDF