summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-05-30 22:43:35 +0100
committerAnas Nashif <anas.nashif@intel.com>2012-05-30 22:45:22 +0100
commit509826f9bdcfc9ffee24f6287d2d16be2ede9885 (patch)
tree6cc422246d7d025508f678ca16983013db0b8b95
parent934a9fd31607ad75a3215a088416212e14e25ccb (diff)
downloadflex-master.tar.gz
flex-master.tar.bz2
flex-master.zip
Do not use macro for installationHEAD2.0_alphamaster2.0alpha1.0_post
Change-Id: Iaf19502586d7409770aecb81e912c9457c920bb1
-rw-r--r--packaging/flex.changes15
-rw-r--r--packaging/flex.spec22
2 files changed, 16 insertions, 21 deletions
diff --git a/packaging/flex.changes b/packaging/flex.changes
index a4c93f8..9984948 100644
--- a/packaging/flex.changes
+++ b/packaging/flex.changes
@@ -1,2 +1,13 @@
-* Wed Aug 10 2011 Junfeng Dong <junfeng.dong@intel.com> - 2.5.35
-- clean.
+* Wed May 30 2012 Anas Nashif <anas.nashif@intel.com> 30489d0
+- Do not use macro for installation
+[ Ryan Ware ]
+- Add default Smack manifest for flex.spec
+
+* Wed May 30 2012 Anas Nashif <anas.nashif@intel.com> 2bb52a0
+- Do not use macro for installation
+
+* Mon May 21 2012 Kim Kibum <kb0929.kim@samsung.com> 2ae147a
+- Upload Tizen:Base source
+[ Hyesook Choi ]
+- Initial empty repository
+
diff --git a/packaging/flex.spec b/packaging/flex.spec
index 4b667e3..884be3a 100644
--- a/packaging/flex.spec
+++ b/packaging/flex.spec
@@ -1,7 +1,3 @@
-#
-# Please submit bugfixes or comments via http://bugs.meego.com/
-#
-
Name: flex
Version: 2.5.35
Release: 2
@@ -10,7 +6,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
+Source1001: flex.manifest
Patch0: flex-2.5.35-sign.patch
# borrowed from fc12
Patch1: flex-2.5.35-hardening.patch
@@ -45,33 +41,21 @@ cp %{SOURCE1001} .
make %{?_smp_mflags}
%install
-%make_install
+make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_infodir}/*
( cd %{buildroot}
ln -sf flex .%{_bindir}/lex
ln -sf flex .%{_bindir}/flex++
- ln -s flex.1 .%{_mandir}/man1/lex.1
- ln -s flex.1 .%{_mandir}/man1/flex++.1
ln -s libfl.a .%{_libdir}/libl.a
)
-%check
-%if0
-echo ============TESTING===============
-make check
-echo ============END TESTING===========
-%endif
-
-%clean
-rm -rf %{buildroot}
+%remove_docs
%files
%manifest flex.manifest
-%defattr(-,root,root)
%doc COPYING
%{_bindir}/*
-%doc %{_mandir}/man1/*
%{_libdir}/*.a
%{_includedir}/FlexLexer.h