Cleanup specfile
OBS-URL: https://build.opensuse.org/package/show/devel:tools/uid_wrapper?expand=0&rev=5
This commit is contained in:
parent
69c8b7b0b4
commit
153b679a0f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 11 08:35:22 CEST 2015 - asn@cryptomilk.org
|
||||||
|
|
||||||
|
- Cleanup specfile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 21 12:48:00 UTC 2015 - asn@cryptomilk.org
|
Wed Jan 21 12:48:00 UTC 2015 - asn@cryptomilk.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package uid_wrapper
|
# spec file for package uid_wrapper
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,6 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
############################# NOTE ##################################
|
||||||
|
#
|
||||||
|
# This is a special library. You are not able to link this library.
|
||||||
|
# Do NOT create library package or a devel package!
|
||||||
|
#
|
||||||
|
############################# NOTE ##################################
|
||||||
|
|
||||||
Name: uid_wrapper
|
Name: uid_wrapper
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
@ -29,6 +35,10 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
|
|||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libcmocka-devel
|
BuildRequires: libcmocka-devel
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
|
||||||
|
Requires: pkg-config
|
||||||
|
Requires: cmake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Some projects like a file server need privilege separation to be able to switch
|
Some projects like a file server need privilege separation to be able to switch
|
||||||
@ -50,20 +60,18 @@ development/testing.
|
|||||||
%build
|
%build
|
||||||
# CMAKE_SKIP_RPATH:BOOL=OFF is need to run the tests!
|
# CMAKE_SKIP_RPATH:BOOL=OFF is need to run the tests!
|
||||||
%cmake \
|
%cmake \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
-DUNIT_TESTING=ON
|
||||||
-DUNIT_TESTING=ON \
|
|
||||||
%{_builddir}/%{name}-%{version}
|
|
||||||
|
|
||||||
%__make %{?jobs:-j%jobs} VERBOSE=1
|
make %{?_smp_mflags} VERBOSE=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd build
|
pushd build
|
||||||
%makeinstall
|
%cmake_install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd build
|
pushd build
|
||||||
%__make test
|
make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user