[Tizen-submit] 20942: Changes to Tizen:Generic/tar

noreply at tizen.org noreply at tizen.org
Mon Feb 10 09:04:58 GMT 2014


Hi,
Karol Lewandowski have made the following changes to tar in project Tizen:Generic. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #20942

  submit:       Tizen:Generic:build/tar(cleanup) -> Tizen:Generic


Message:
Submitter: Karol Lewandowski <k.lewandowsk at samsung.com>
Comments: Release 1.27
Git project: platform/upstream/tar
Tag: submit/tizen/20140210.090655
Commit: c220badf2d9b55175284a67c8f4156fb5a5200d7 Import upstream version 1.27

State:   new        2014-02-10T09:06:50 tizenrobot
Comment: <no comment>
old:
----
  _service
  _service:gbs:0001-wildcards.patch
  _service:gbs:0002-remove-O_NONBLOCK.patch
  _service:gbs:0003-stdio.in.patch
  _service:gbs:tar-1.26.tar.bz2
  _service:gbs:tar.manifest
  _service:gbs:tar.spec

new:
----
  0001-wildcards.patch
  0002-remove-O_NONBLOCK.patch
  tar-1.27.tar.bz2
  tar.manifest
  tar.spec

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

++++++ new spec file:
--- tar.spec
+++ tar.spec
@@ -0,0 +1,66 @@
+Name:           tar
+VCS:            platform/upstream/tar#c220badf2d9b55175284a67c8f4156fb5a5200d7
+Version:        1.27
+Release:        0
+Summary:        GNU implementation of tar ((t)ape (ar)chiver)
+License:        GPL-3.0+
+Group:          System/Utilities
+Url:            http://www.gnu.org/software/tar/
+Source0:        %{name}-%{version}.tar.bz2
+Source1001: 	tar.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:         0001-wildcards.patch
+Patch1:         0002-remove-O_NONBLOCK.patch
+BuildRequires:  help2man
+Recommends:     xz
+
+%description
+This package normally also includes the program "rmt", which provides
+remote tape drive control. Since there are compatible versions of 'rmt'
+in either the 'star' package or the 'dump' package, we didn't put 'rmt'
+into this package. If you are planning to use the remote tape features
+provided by tar you have to also install the 'dump' or the 'star'
+package.
+
+%prep
+%setup -q
+# 0001-wildcards.patch
+%patch0 -p1
+# 0002-remove-O_NONBLOCK.patch
+%patch1 -p1
+cp %{SOURCE1001} .
+
+%build
+%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
+export CFLAGS="%{optflags} %my_cflags"
+export RSH="/usr/bin/rsh"
+export DEFAULT_ARCHIVE_FORMAT="POSIX"
+%configure \
+	gl_cv_func_linkat_follow="yes" \
+	--disable-silent-rules \
+	--disable-nls
+make %{?_smp_mflags};
+
+%check
+%if !0%{?qemu_user_space_build:1}
+# Checks disabled in qemu because of races happening when we emulate
+# multi-threaded programs
+make check
+%endif
+
+%install
+%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
+install -d -m 755 %{buildroot}/%{_mandir}/man1
+help2man ./src/tar --name "The GNU version of the tar archiving utility" -p tar \
+        | gzip -c > %{buildroot}/%{_mandir}/man1/tar.1.gz
+rm -rf %{buildroot}%{_libexecdir}/rmt
+rm -f %{buildroot}%{_infodir}/dir
+
+
+%docs_package
+

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


More information about the Tizen-submit mailing list