summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 18:56:30 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-04 18:56:30 -0800
commit81d735389fec82ad903e701ac132ef0fb34a5c0f (patch)
treea0d829daf4059a90f3333f7ce629fb05a585dd73
parent98e29badd1a5a99eaeba0d80884ac0f0caae3b18 (diff)
downloadflex-81d735389fec82ad903e701ac132ef0fb34a5c0f.tar.gz
flex-81d735389fec82ad903e701ac132ef0fb34a5c0f.tar.bz2
flex-81d735389fec82ad903e701ac132ef0fb34a5c0f.zip
add packaging
-rw-r--r--packaging/flex.spec8
1 files changed, 2 insertions, 6 deletions
diff --git a/packaging/flex.spec b/packaging/flex.spec
index 3c76b4e..feca2d8 100644
--- a/packaging/flex.spec
+++ b/packaging/flex.spec
@@ -1,3 +1,4 @@
+%define keepstatic 1
Name: flex
Version: 2.5.37
Release: 0
@@ -35,9 +36,8 @@ make check
%install
%make_install
install %{SOURCE1} %{buildroot}/%{_bindir}/lex
-ln -s flex %{buildroot}/%{_bindir}/flex++
-ln -s flex.1.gz %{buildroot}/%{_mandir}/man1/lex.1.gz
+%remove_docs
%files
%defattr(-,root,root)
/usr/bin/flex
@@ -45,7 +45,3 @@ ln -s flex.1.gz %{buildroot}/%{_mandir}/man1/lex.1.gz
/usr/bin/lex
/usr/include/FlexLexer.h
%{_libdir}/libfl.a
-%{_mandir}/man1/flex.1.gz
-%{_mandir}/man1/lex.1.gz
-%{_infodir}/flex*
-