[seedit] BR: flex-static (Fix FTBS BZ#716200). Add sed-hacks to work-around various Makefile defects.

corsepiu corsepiu at fedoraproject.org
Mon Jun 27 10:28:28 UTC 2011


commit face1cfa08f91739b569d200b6c20a425c2c3312
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Jun 27 12:28:14 2011 +0200

    BR: flex-static (Fix FTBS BZ#716200).
    Add sed-hacks to work-around various Makefile defects.

 seedit.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/seedit.spec b/seedit.spec
index c454a0f..41f6ae1 100644
--- a/seedit.spec
+++ b/seedit.spec
@@ -16,7 +16,7 @@
 
 Name: seedit         
 Version: 2.2.0
-Release: 9%{?dist}
+Release: 10%{?dist}
 Summary: SELinux Policy Editor:Core component
 Group:  System Environment/Base        
 License: GPLv2+       
@@ -26,6 +26,7 @@ Source1: seedit-gui.desktop
 Source2: seedit-gui.png
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{betatag}-root-%(%{__id_u} -n)
 BuildRequires:  libselinux-devel >= 1.19, byacc, flex
+BuildRequires:  flex-static
 Requires:  checkpolicy, m4, audit, libselinux >= 1.19
 Provides: seedit-converter = %{version}-%{release}
 
@@ -41,6 +42,10 @@ Command line utils is included in seedit package.
 %prep
 %setup -q
 #%patch -p0
+# Hack around various Makefile defects
+sed -i -e 's, -I$(INCLUDEDIR),,' core/converter/Makefile core/lib/Makefile
+sed -i -e 's,^LDPATH,# LDPATH,' core/converter/Makefile core/xml/Makefile
+sed -i -e 's, -L$(prefix)/lib,,' core/restorecon/Makefile
 
 %build
 pushd core
@@ -171,6 +176,10 @@ X based GUI for SELinux Policy Editor
 
 
 %changelog
+* Mon Jun 27 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.2.0-10
+- BR: flex-static (Fix FTBS BZ#716200).
+- Add sed-hacks to work-around various Makefile defects.
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.0-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list