[Tizen-submit] 5791: Changes to Tizen/time

noreply at tizen.org noreply at tizen.org
Mon May 20 11:21:03 GMT 2013


Hi,
Prajwal Mohan have made the following changes to time in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5791

  submit:       Tizen:build/time(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.024233
Git project: platform/upstream/time
Tag: submit/tizen/20130517.024233
Commit: 5d8a437 fixed DESTDIR

State:   accepted   2013-05-16T20:34:44 pkarurmo
Comment: Ok

History: new        2013-05-16T19:41:08 tizenrobot
new:
----
  0001-fixed-DESTDIR.patch
  time-1.7.tar.bz2
  time.spec

spec files:
-----------

++++++ new spec file:
--- time.spec
+++ time.spec
@@ -0,0 +1,34 @@
+Name:           time
+Version:        1.7
+Release:        1
+VCS:            platform/upstream/time#submit/tizen/20130517.024233-0-g5d8a437
+License:        GPL-2.0+
+Summary:        A GNU utility for monitoring a program's use of system resources
+Url:            http://www.gnu.org/software/time/
+Group:          Applications/System
+Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.bz2
+# Patches auto-generated by git-buildpackage:
+Patch0:     0001-fixed-DESTDIR.patch
+%description
+The GNU time utility runs another program, collects information about
+the resources used by that program while it is running, and displays
+the results.
+
+%prep
+%setup -q
+# 0001-fixed-DESTDIR.patch
+%patch0 -p1
+
+%build
+echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/time

other changes:
--------------

++++++ 0001-fixed-DESTDIR.patch (new)
--- 0001-fixed-DESTDIR.patch
+++ 0001-fixed-DESTDIR.patch
@@ -0,0 +1,47 @@
+From: Anas Nashif <anas.nashif at intel.com>
+Date: Tue, 27 Nov 2012 07:17:59 -0800
+Subject: fixed DESTDIR
+
+---
+ Makefile.in |   10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 7ee5080..d55b5b0 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -114,10 +114,10 @@ distclean-binPROGRAMS:
+ maintainer-clean-binPROGRAMS:
+ 
+ install-binPROGRAMS: $(bin_PROGRAMS)
+-	$(mkinstalldirs) $(bindir)
++	$(mkinstalldirs) $(DESTDIR)/$(bindir)
+ 	list="$(bin_PROGRAMS)"; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
++	    $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(bindir)/`echo $$p|sed '$(transform)'`; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -176,10 +176,10 @@ time.info: time.texi version.texi
+ 	TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
+ 
+ install-info: $(INFO_DEPS)

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list