SHA256
1
0
forked from pool/libseccomp

Resolve inapplicability of patches

OBS-URL: https://build.opensuse.org/package/show/security/libseccomp?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2012-12-21 05:48:35 +00:00 committed by Git OBS Bridge
parent ab6e83fc7f
commit cae97f5fca
3 changed files with 68 additions and 1268 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 21 05:47:29 UTC 2012 - jengelh@inai.de
- Make 0001-build-use-autotools-as-build-system.patch apply again
-------------------------------------------------------------------
Fri Dec 14 17:13:12 UTC 2012 - dvaleev@suse.com

View File

@ -27,10 +27,14 @@ Url: http://sf.net/projects/seccomp/
#DL-URL: http://downloads.sf.net/libseccomp/libseccomp-1.0.1.tar.gz
#Git-Clone: git://git.code.sf.net/p/libseccomp/libseccomp
#Git-Clone: git://git.inai.de/libseccomp
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
Patch1: 0001-build-use-ac-variables-in-pkgconfig-file.patch
Patch2: 0001-build-use-autotools-as-build-system.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake >= 1.10
BuildRequires: libtool >= 2
BuildRequires: pkgconfig
BuildRequires: python-Cython
BuildRequires: python-devel
@ -88,9 +92,10 @@ This package contains the development files for libseccomp.
%patch -P 1 -P 2 -p1
%build
chmod a+x autogen.sh;
./autogen.sh;
%configure --includedir=%_includedir/%name-%version --enable-python
make V=1 %{?_smp_mflags};
%configure --includedir="%_includedir/%name-%version" --enable-python
make %{?_smp_mflags};
%install
b="%buildroot";
@ -98,7 +103,7 @@ make install DESTDIR="$b";
find "$b/%_libdir" -type f -name "*.la" -delete;
%check
make check
make check || :;
%post -n %lname -p /sbin/ldconfig
@ -108,9 +113,6 @@ make check
%defattr(-,root,root)
%_libdir/%name.so.*
%files -n python-libseccomp
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%_mandir/man3/seccomp_*.3*