summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-06 13:45:20 +0100
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>2014-12-12 14:35:24 +0100
commitac4d262e8d9a0219a4945f94303f2fbfc83a940a (patch)
treea9a790488821ca78f7c0b0841aaadc046a1f7d8e
parent4689b6076b66e70ac186d623cef034b431744695 (diff)
downloadsed-tizen_3.0.2014.q4_common.tar.gz
sed-tizen_3.0.2014.q4_common.tar.bz2
sed-tizen_3.0.2014.q4_common.zip
Also clean spec file. Bug-Tizen: TC-1869 Change-Id: I07d8fd7ce3a24ac2ae372c1b8ce903afead8a2f4 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r--packaging/sed.spec35
1 files changed, 17 insertions, 18 deletions
diff --git a/packaging/sed.spec b/packaging/sed.spec
index 96e617c..e2d9ce4 100644
--- a/packaging/sed.spec
+++ b/packaging/sed.spec
@@ -1,12 +1,12 @@
Name: sed
-Version: 4.2.1
+Version: 4.2.2
Release: 0
Summary: A Stream-Oriented Non-Interactive Text Editor
License: GPL-3.0+
-Group: Base/Tools
+Group: Base/Utilities
Url: http://www.gnu.org/directory/sed.html
-Source: %name-%version.tar.bz2
-Source1001: sed.manifest
+Source: %{name}-%{version}.tar.bz2
+Source1001: sed.manifest
Provides: base:/bin/sed
BuildRequires: automake
Provides: /bin/sed
@@ -24,21 +24,21 @@ cp %{SOURCE1001} .
%build
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
export CFLAGS="%{optflags} %warn_flags"
-./configure --prefix=/usr \
- --mandir=%{_mandir} \
- --infodir=%{_infodir} \
- --disable-nls \
- --without-included-regex \
- %{_target_cpu}-tizen-linux
+%configure --prefix=/usr \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --disable-nls \
+ --without-included-regex \
+ %{_target_cpu}-tizen-linux
%if %do_profiling
- make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_generate
- make %{?_smp_mflags} check
- make clean
- make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_feedback
+ %__make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_generate
+ %__make %{?_smp_mflags} check
+ %__make clean
+ %__make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_feedback
%else
- make %{?_smp_mflags}
+ %__make %{?_smp_mflags}
%endif
-make %{?_smp_mflags} check
+%__make %{?_smp_mflags} check
%install
%make_install
@@ -50,5 +50,4 @@ make %{?_smp_mflags} check
%manifest %{name}.manifest
%defattr(-, root, root)
%{_bindir}/sed
-%doc COPYING*
-
+%license COPYING*