summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-01-15 08:33:50 -0800
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:27 +0900
commite0168b309c60beb4a5afe36aea634121d325161a (patch)
treed0797bd24cc6f3fa2b2c2b8bfa06ceaacb8a45ee
parentbe919a1172c56e633ade4b611b45f39a791703fb (diff)
downloadltrace-e0168b309c60beb4a5afe36aea634121d325161a.tar.gz
ltrace-e0168b309c60beb4a5afe36aea634121d325161a.tar.bz2
ltrace-e0168b309c60beb4a5afe36aea634121d325161a.zip
Update to 0.7.2
-rw-r--r--packaging/ltrace.spec23
1 files changed, 8 insertions, 15 deletions
diff --git a/packaging/ltrace.spec b/packaging/ltrace.spec
index 88a7f75..4ffadf8 100644
--- a/packaging/ltrace.spec
+++ b/packaging/ltrace.spec
@@ -1,4 +1,6 @@
Name: ltrace
+Version: 0.7.2
+Release: 0
BuildRequires: binutils-devel
BuildRequires: dejagnu
BuildRequires: gcc-c++
@@ -7,9 +9,6 @@ Url: http://ltrace.org/
Summary: Trace the Library and System Calls a Program Makes
License: GPL-2.0+
Group: Development/Tools/Debuggers
-Version: 0.5.3
-Release: 0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: ltrace-%{version}.tar.bz2
Source2: baselibs.conf
@@ -30,26 +29,20 @@ child processes may fail or some things may not work as expected.
%setup -q
%build
-export CFLAGS="%{optflags} -W -Wall"
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=%{_mandir} \
-%ifarch armv4l
- --build=arm-tizen-linux
-%else
- --build=%{_target_cpu}-tizen-linux
-%endif
+export CFLAGS="%{optflags}"
+%configure --build=%{_target_cpu}-tizen-linux
make
%install
-make install DESTDIR=%{buildroot}
+%make_install
rm -rf %{buildroot}/usr/share/doc/ltrace
%files
%defattr(-,root,root)
-%doc COPYING README
+%license COPYING
%{_bindir}/ltrace
-%{_mandir}/man1/ltrace.1.gz
+%{_mandir}/man?/ltrace.?.gz
+%{_mandir}/man?/ltrace.conf.?.gz
%config /etc/ltrace.conf
%changelog