mizdebsk pushed to koschei (master). "Add workaround for RPM bug #646523"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Mar 27 06:36:17 UTC 2015
>From e3e23f49dfbf1d97c0de648a34e332ce6b82732d Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Fri, 27 Mar 2015 07:36:01 +0100
Subject: Add workaround for RPM bug #646523
diff --git a/koschei.spec b/koschei.spec
index 587e6bc..aa77b79 100644
--- a/koschei.spec
+++ b/koschei.spec
@@ -2,7 +2,7 @@
Name: koschei
Version: 0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Continuous integration for Fedora packages
License: GPLv2+
URL: https://github.com/msimacek/%{name}
@@ -104,6 +104,11 @@ cp -p httpd.conf %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
%{__python2} setup.py test
%endif
+# Workaround for RPM bug #646523 - can't change symlink to directory
+%pretrans -p <lua>
+dir = "%{_datadir}/%{name}/static"
+dummy = posix.readlink(dir) and os.remove(dir)
+
%pre
getent group %{name} >/dev/null || groupadd -r %{name}
# services and koschei-admin script is supposed to be run as this user
@@ -143,6 +148,9 @@ exit 0
%{_unitdir}/*
%changelog
+* Fri Mar 27 2015 Mikolaj Izdebski <mizdebsk at redhat.com> - 0.2-2
+- Add workaround for RPM bug #646523
+
* Thu Mar 12 2015 Michael Simacek <msimacek at redhat.com> - 0.2-1
- Update to version 0.2
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/koschei.git/commit/?h=master&id=e3e23f49dfbf1d97c0de648a34e332ce6b82732d
More information about the scm-commits
mailing list