ralph pushed to fedmsg (f21). "No longer package compiled config bits in fedmsg.d/"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Mar 24 18:35:38 UTC 2015
ralph pushed to fedmsg (f21). "No longer package compiled config bits in fedmsg.d/"
>From 58d6ea78db2ffee2b3ee9ee51051c298efd533be Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Sun, 22 Mar 2015 17:13:15 -0400
Subject: No longer package compiled config bits in fedmsg.d/
diff --git a/fedmsg.spec b/fedmsg.spec
index db6d650..b0b7e80 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -5,7 +5,7 @@
Name: fedmsg
Version: 0.12.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tools for Fedora Infrastructure real-time messaging
Group: Applications/Internet
License: LGPLv2+
@@ -163,6 +163,8 @@ rm fedmsg/tests/test_threads.py
# https://bugzilla.redhat.com/show_bug.cgi?id=813925
%else
PYTHONPATH=$(pwd) python setup.py test
+# Remove compiled .py files from config
+rm -f %{buildroot}%{_sysconfdir}/fedmsg.d/*.py{c,o}
%endif
%install
@@ -200,6 +202,9 @@ PYTHONPATH=$(pwd) python setup.py test
# tmpfiles.d
%{__install} -Dm0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
+# Remove compiled .py files from config
+rm -f %{buildroot}%{_sysconfdir}/fedmsg.d/*.py{c,o}
+
%pre
%{_sbindir}/groupadd -r %{modname} &>/dev/null || :
@@ -249,10 +254,10 @@ fi
%{python_sitelib}/%{modname}-%{version}-py%{pyver}.egg-info/
%dir %{_sysconfdir}/fedmsg.d/
-%config(noreplace) %{_sysconfdir}/fedmsg.d/base.py*
-%config(noreplace) %{_sysconfdir}/fedmsg.d/endpoints.py*
-%config(noreplace) %{_sysconfdir}/fedmsg.d/logging.py*
-%config(noreplace) %{_sysconfdir}/fedmsg.d/ssl.py*
+%config(noreplace) %{_sysconfdir}/fedmsg.d/base.py
+%config(noreplace) %{_sysconfdir}/fedmsg.d/endpoints.py
+%config(noreplace) %{_sysconfdir}/fedmsg.d/logging.py
+%config(noreplace) %{_sysconfdir}/fedmsg.d/ssl.py
%config(noreplace) %{_sysconfdir}/logrotate.d/%{modname}
@@ -280,7 +285,7 @@ fi
%{_unitdir}/fedmsg-relay.service
%endif
-%config(noreplace) %{_sysconfdir}/fedmsg.d/relay.py*
+%config(noreplace) %{_sysconfdir}/fedmsg.d/relay.py
%files irc
%{_bindir}/fedmsg-irc
@@ -290,7 +295,7 @@ fi
%{_unitdir}/fedmsg-irc.service
%endif
-%config(noreplace) %{_sysconfdir}/fedmsg.d/ircbot.py*
+%config(noreplace) %{_sysconfdir}/fedmsg.d/ircbot.py
%files gateway
%{_bindir}/fedmsg-gateway
@@ -299,9 +304,12 @@ fi
%else
%{_unitdir}/fedmsg-gateway.service
%endif
-%config(noreplace) %{_sysconfdir}/fedmsg.d/gateway.py*
+%config(noreplace) %{_sysconfdir}/fedmsg.d/gateway.py
%changelog
+* Sun Mar 22 2015 Ralph Bean <rbean at redhat.com> - 0.12.2-2
+- No longer package compiled py files in /etc/fedmsg.d/
+
* Thu Feb 19 2015 Ralph Bean <rbean at redhat.com> - 0.12.2-1
- new version
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/fedmsg.git/commit/?h=f21&id=58d6ea78db2ffee2b3ee9ee51051c298efd533be
--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390
More information about the scm-commits
mailing list