From 509826f9bdcfc9ffee24f6287d2d16be2ede9885 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 30 May 2012 22:43:35 +0100 Subject: [PATCH] Do not use macro for installation Change-Id: Iaf19502586d7409770aecb81e912c9457c920bb1 --- packaging/flex.changes | 15 +++++++++++++-- packaging/flex.spec | 22 +++------------------- 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 - 2.5.35 -- clean. +* Wed May 30 2012 Anas Nashif 30489d0 +- Do not use macro for installation +[ Ryan Ware ] +- Add default Smack manifest for flex.spec + +* Wed May 30 2012 Anas Nashif 2bb52a0 +- Do not use macro for installation + +* Mon May 21 2012 Kim Kibum 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 -- 2.7.4