diff options
author | David Wragg <dpw@lshift.net> | 2010-02-19 13:53:12 +0000 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2010-02-19 13:53:12 +0000 |
commit | ef4e61955d364b773348a8a5d7f6669d17b15bc2 (patch) | |
tree | 0b4fbeebaf42f8a5552afb155d751c53a9c8b4ec /packaging | |
parent | d2c03b01f8f9afcc66ec30a5151e3030c32ef128 (diff) | |
download | rabbitmq-server-ef4e61955d364b773348a8a5d7f6669d17b15bc2.tar.gz |
Use a suffix other than .rpm for file lists, to avoid confusion with rpms.bug22188
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/RPMS/Fedora/rabbitmq-server.spec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/RPMS/Fedora/rabbitmq-server.spec b/packaging/RPMS/Fedora/rabbitmq-server.spec index 54d0c8f3..fa9bb2ee 100644 --- a/packaging/RPMS/Fedora/rabbitmq-server.spec +++ b/packaging/RPMS/Fedora/rabbitmq-server.spec @@ -65,12 +65,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/rabbitmq 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 +rm -f %{_builddir}/%{name}.files +echo '%defattr(-,root,root, -)' >> %{_builddir}/%{name}.files (cd %{buildroot}; \ find . -type f ! -regex '\.%{_sysconfdir}.*' \ ! -regex '\.\(%{_rabbit_erllibdir}\|%{_rabbit_libdir}\).*' \ - | sed -e 's/^\.//' >> %{_builddir}/filelist.%{name}.rpm) + | sed -e 's/^\.//' >> %{_builddir}/%{name}.files) %pre @@ -103,7 +103,7 @@ if [ $1 = 0 ]; then # Leave rabbitmq user and group fi -%files -f ../filelist.%{name}.rpm +%files -f ../%{name}.files %defattr(-,root,root,-) %attr(0750, rabbitmq, rabbitmq) %dir %{_localstatedir}/lib/rabbitmq %attr(0750, rabbitmq, rabbitmq) %dir %{_localstatedir}/log/rabbitmq |