summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-06 13:45:20 +0100
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-06 13:46:02 +0100
commit3789316d1186bd7ffc8d06873bce1c5c56b322c7 (patch)
treea9a790488821ca78f7c0b0841aaadc046a1f7d8e
parentc5ddb4ddd0358f3f6276f2cfb9e24cfa34d8181d (diff)
downloadsed-sandbox/kevinthierry/bump-4.2.2.tar.gz
sed-sandbox/kevinthierry/bump-4.2.2.tar.bz2
sed-sandbox/kevinthierry/bump-4.2.2.zip
Bump to version 4.2.2sandbox/kevinthierry/bump-4.2.2
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*