summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:24 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:24 -0700
commit934a9fd31607ad75a3215a088416212e14e25ccb (patch)
tree929b7ad1114e3393cd2c2b9a3c08d9c7f709ac49
parent2ae147a745432eb1f8d2c72b4dc22351e3534b5c (diff)
downloadflex-934a9fd31607ad75a3215a088416212e14e25ccb.tar.gz
flex-934a9fd31607ad75a3215a088416212e14e25ccb.tar.bz2
flex-934a9fd31607ad75a3215a088416212e14e25ccb.zip
Add default Smack manifest for flex.spec
Change-Id: I8b7a8f8b63650cd1f375d2b4928632f5068d34a3 Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/flex.manifest5
-rw-r--r--packaging/flex.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/flex.manifest b/packaging/flex.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/flex.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/flex.spec b/packaging/flex.spec
index be88edc..4b667e3 100644
--- a/packaging/flex.spec
+++ b/packaging/flex.spec
@@ -10,6 +10,7 @@ Summary: A tool for creating scanners (text pattern recognizers)
Url: http://flex.sourceforge.net/
Group: Development/Tools
Source: http://prdownloads.sourceforge.net/flex/flex-%{version}.tar.bz2
+Source1001: packaging/flex.manifest
Patch0: flex-2.5.35-sign.patch
# borrowed from fc12
Patch1: flex-2.5.35-hardening.patch
@@ -39,6 +40,7 @@ application development.
%patch2 -p1
%build
+cp %{SOURCE1001} .
%configure --disable-dependency-tracking CFLAGS="-fPIC %{optflags}" --disable-nls
make %{?_smp_mflags}
@@ -65,6 +67,7 @@ echo ============END TESTING===========
rm -rf %{buildroot}
%files
+%manifest flex.manifest
%defattr(-,root,root)
%doc COPYING
%{_bindir}/*