forked from pool/libffi
Accepting request 455369 from home:jengelh:branches:devel:libraries:c_c++
- Provide a _service file to build the tarball OBS-URL: https://build.opensuse.org/request/show/455369 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=2
This commit is contained in:
parent
b61715263f
commit
3baacb9c8d
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/libffi/libffi</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="filename">libffi</param>
|
||||
<param name="parent-tag">v3.2.1</param>
|
||||
<param name="versionformat">3.2.1.git@TAG_OFFSET@</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
3
libffi-3.2.1.git259.tar.xz
Normal file
3
libffi-3.2.1.git259.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0325dd7c20a378d3ed1ceecd9ae5f36e8a90e8168586001128aeef4d56c85a15
|
||||
size 311132
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 23:21:39 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Provide a _service file (and run it)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 09:10:05 UTC 2017 - rguenther@suse.com
|
||||
|
||||
|
15
libffi.spec
15
libffi.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package nvptx-tools
|
||||
# spec file for package libffi
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -17,15 +17,14 @@
|
||||
|
||||
%define libffi_sover 7
|
||||
|
||||
Name: libffi
|
||||
Version: 3.99999
|
||||
Name: libffi
|
||||
Version: 3.2.1.git259
|
||||
Release: 0
|
||||
Summary: Foreign Function Interface Library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/C and C++
|
||||
Url: https://github.com/libffi/
|
||||
# tarball built from https://github.com/libffi/libffi
|
||||
Source0: libffi.tar.xz
|
||||
Source: %name-%version.tar.xz
|
||||
Patch: libffi-include-location.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
@ -46,7 +45,7 @@ time.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries for Development with libffi
|
||||
Summary: Include files for development with libffi
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libffi%{libffi_sover} = %{version}
|
||||
PreReq: %{install_info_prereq}
|
||||
@ -65,7 +64,7 @@ time.
|
||||
|
||||
|
||||
%package -n libffi%{libffi_sover}
|
||||
Summary: Shared library for the libffi Library
|
||||
Summary: Foreign Function Interface Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libffi%{libffi_sover}
|
||||
@ -78,7 +77,7 @@ time.
|
||||
%postun -n libffi%{libffi_sover} -p /sbin/ldconfig
|
||||
|
||||
%prep
|
||||
%setup -q -n libffi
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f8afbcee089ca5be74a1fc10f199c8c1b34cfdbc3478b5f5dc74179018507a1
|
||||
size 311256
|
Loading…
x
Reference in New Issue
Block a user