Accepting request 146217 from security
- Make 0001-build-use-autotools-as-build-system.patch apply again (resolve build failure) OBS-URL: https://build.opensuse.org/request/show/146217 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libseccomp?expand=0&rev=4
This commit is contained in:
commit
4cc52ce862
File diff suppressed because it is too large
Load Diff
@ -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
|
Fri Dec 14 17:13:12 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
|
@ -27,10 +27,14 @@ Url: http://sf.net/projects/seccomp/
|
|||||||
|
|
||||||
#DL-URL: http://downloads.sf.net/libseccomp/libseccomp-1.0.1.tar.gz
|
#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.code.sf.net/p/libseccomp/libseccomp
|
||||||
|
#Git-Clone: git://git.inai.de/libseccomp
|
||||||
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
|
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
|
||||||
Patch1: 0001-build-use-ac-variables-in-pkgconfig-file.patch
|
Patch1: 0001-build-use-ac-variables-in-pkgconfig-file.patch
|
||||||
Patch2: 0001-build-use-autotools-as-build-system.patch
|
Patch2: 0001-build-use-autotools-as-build-system.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake >= 1.10
|
||||||
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-Cython
|
BuildRequires: python-Cython
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@ -88,9 +92,10 @@ This package contains the development files for libseccomp.
|
|||||||
%patch -P 1 -P 2 -p1
|
%patch -P 1 -P 2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
chmod a+x autogen.sh;
|
||||||
./autogen.sh;
|
./autogen.sh;
|
||||||
%configure --includedir=%_includedir/%name-%version --enable-python
|
%configure --includedir="%_includedir/%name-%version" --enable-python
|
||||||
make V=1 %{?_smp_mflags};
|
make %{?_smp_mflags};
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b="%buildroot";
|
||||||
@ -98,7 +103,7 @@ make install DESTDIR="$b";
|
|||||||
find "$b/%_libdir" -type f -name "*.la" -delete;
|
find "$b/%_libdir" -type f -name "*.la" -delete;
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check || :;
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -108,9 +113,6 @@ make check
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/%name.so.*
|
%_libdir/%name.so.*
|
||||||
|
|
||||||
%files -n python-libseccomp
|
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_mandir/man3/seccomp_*.3*
|
%_mandir/man3/seccomp_*.3*
|
||||||
|
Loading…
Reference in New Issue
Block a user