[spectrum] New upstream version.
Matej Cepl
mcepl at fedoraproject.org
Thu Nov 25 17:05:53 UTC 2010
commit bdefc8c885bfc02d1754790c061496048cca9abc
Author: Matěj Cepl <mcepl at redhat.com>
Date: Thu Nov 25 18:03:30 2010 +0100
New upstream version.
Also make spectrum on F15 work with
https://fedoraproject.org/wiki/Features/var-run-tmpfs
.gitignore | 1 +
sources | 2 +-
spectrum-tmpfiles.conf | 1 +
spectrum.spec | 17 ++++++++++++++++-
4 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 608d196..3d6d267 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ spectrum-1.4.0.tar.gz
/spectrum-1.4.1.tar.gz
/spectrum-1.4.2.tar.gz
/spectrum-1.4.3.tar.gz
+/spectrum-1.4.4.tar.gz
diff --git a/sources b/sources
index a719617..9792224 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-81ac530713977295b0c04dbf042aadec spectrum-1.4.3.tar.gz
+e0004014e8928482397776d0fbc96f76 spectrum-1.4.4.tar.gz
diff --git a/spectrum-tmpfiles.conf b/spectrum-tmpfiles.conf
new file mode 100644
index 0000000..f55451b
--- /dev/null
+++ b/spectrum-tmpfiles.conf
@@ -0,0 +1 @@
+d /var/run/spectrum 0700 spectrum spectrum
diff --git a/spectrum.spec b/spectrum.spec
index 252cda8..26c424a 100644
--- a/spectrum.spec
+++ b/spectrum.spec
@@ -6,7 +6,7 @@
Summary: XMPP transport/gateway
Name: spectrum
-Version: 1.4.3
+Version: 1.4.4
Release: 1%{?dist}
Group: System Environment/Daemons
# spectrumctl is GPLv3+, rest GPLv2+
@@ -17,6 +17,7 @@ License: GPLv2+ and GPLv3+
# The following URL needs to be bumped for every release ... that 26 is not stable
Source0: https://github.com/downloads/hanzz/spectrum/spectrum-%{version}.tar.gz
# Patch to make spectrum build with an obsolete cmake on RHEL-5
+Source1: spectrum-tmpfiles.conf
Patch1: spectrum-cmake.patch
URL: http://spectrum.im/
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -95,6 +96,10 @@ mv %{buildroot}%{_bindir}/spectrum %{buildroot}%{_sbindir}
mv -v %{buildroot}%{_sysconfdir}/spectrum/*.example .
+%if 0%{?fedora} >= 15
+install -p -D %{SOURCE1} %{buildroot}%{_sysconfdir}/tmpfiles.d/spectrum.conf
+%endif
+
%clean
rm -rf %{buildroot}
@@ -138,8 +143,18 @@ fi
%attr(700, %{username}, %{groupname}) %{_localstatedir}/log/spectrum/
%attr(750, root, %{groupname}) %dir %{_sysconfdir}/spectrum
%config(noreplace) %{_sysconfdir}/logrotate.d/spectrum
+%if 0%{?fedora} >= 15
+%config(noreplace) %{_sysconfdir}/tmpfiles.d/spectrum.conf
+%endif
%changelog
+* Thu Nov 25 2010 Matěj Cepl <mcepl at redhat.com> - 1.4.4-1
+- New upstream release (#656693)
+- Instead of %%ghosting, the new fashion is tmpfiles.d ;)
+
+* Wed Nov 24 2010 Matěj Cepl <mcepl at redhat.com> - 1.4.3-2
+- /var/run/spectrum should be %%ghost (#656693).
+
* Tue Nov 16 2010 Matěj Cepl <mcepl at redhat.com> - 1.4.3-1
- New upstream release.
More information about the scm-commits
mailing list