diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2008-12-15 15:48:05 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2008-12-15 15:48:05 +0000 |
commit | 435d03096f0fc9f5ce1a3e3677b8f2337c453f84 (patch) | |
tree | 69c341260a3b0b63347db55efe1ea146d1e00b3c /packaging/RPMS | |
parent | 322d1d074e9dee92cd4f136b626416ec0cbda184 (diff) | |
download | rabbitmq-server-435d03096f0fc9f5ce1a3e3677b8f2337c453f84.tar.gz |
Produce the list of rpm files on the flybug20002
Diffstat (limited to 'packaging/RPMS')
-rw-r--r-- | packaging/RPMS/Fedora/rabbitmq-server.spec | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/packaging/RPMS/Fedora/rabbitmq-server.spec b/packaging/RPMS/Fedora/rabbitmq-server.spec index 35976538..bfc6800e 100644 --- a/packaging/RPMS/Fedora/rabbitmq-server.spec +++ b/packaging/RPMS/Fedora/rabbitmq-server.spec @@ -79,6 +79,12 @@ install -m 0644 %SOURCE3 %{buildroot}/etc/logrotate.d/rabbitmq-server rm %{_maindir}/LICENSE %{_maindir}/LICENSE-MPL-RabbitMQ %{_maindir}/INSTALL +#Build the list of files +rm -f %{_builddir}/filelist.%{name}.rpm +echo '%defattr(-,root,root, -)' >> %{_builddir}/filelist.%{name}.rpm +(cd %{buildroot}; find . ! -regex '\./etc.*' \ + -type f | sed -e 's/^\.//' >> %{_builddir}/filelist.%{name}.rpm) + %post # create rabbitmq group if ! getent group rabbitmq >/dev/null; then @@ -112,15 +118,8 @@ if [ $1 = 0 ]; then # Leave rabbitmq user and group fi -%files +%files -f ../filelist.%{name}.rpm %defattr(-,root,root,-) -%{_erllibdir}/rabbitmq_server-%{version}/ -%{_rabbitbindir}/ -%{_mandir}/man1/rabbitmqctl.1.gz -%{_mandir}/man1/rabbitmq-multi.1.gz -%{_mandir}/man1/rabbitmq-server.1.gz -%{_mandir}/man5/rabbitmq.5.gz -%{_sbindir}/rabbitmqctl %dir /var/lib/rabbitmq %dir /var/log/rabbitmq /etc/rc.d/init.d/rabbitmq-server |