Re: [Prelude Hybrid IDS] #188: building RPM from .spec file fails
"Prelude Hybrid IDS" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
#188: building RPM from .spec file fails
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: yoann
Type: defect | Status: new
Priority: normal | Milestone: Prewikka 0.9.9
Component: prewikka | Version: 0.9
Severity: normal | Resolution:
Keywords: rpm, spec |
-----------------------+----------------------------------------------------
Old 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
> <SNIP>
> 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)
New 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)
}}}
Comment (by yoann):
Edit summary for readability.
--
Ticket URL: <https://trac.prelude-ids.org/ticket/188#comment:1>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite
_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel