Andreas Schneider 2015-05-11 06:33:54 +00:00 committed by Git OBS Bridge
parent 8cfbdab861
commit 14523fafea
2 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 11 06:33:35 UTC 2015 - asn@cryptomilk.org
- Cleanup specfile
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 11 14:23:20 UTC 2014 - asn@cryptomilk.org Thu Sep 11 14:23:20 UTC 2014 - asn@cryptomilk.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package nss_wrapper # spec file for package nss_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: nss_wrapper Name: nss_wrapper
Version: 1.0.3 Version: 1.0.3
@ -31,6 +37,9 @@ BuildRequires: cmake
BuildRequires: libcmocka-devel BuildRequires: libcmocka-devel
BuildRequires: netcfg BuildRequires: netcfg
Requires: pkg-config
Requires: cmake
%description %description
There are projects which provide daemons needing to be able to create, modify There are projects which provide daemons needing to be able to create, modify
and delete Unix users. Or just switch user ids to interact with the system e.g. and delete Unix users. Or just switch user ids to interact with the system e.g.
@ -59,25 +68,18 @@ development/testing.
%build %build
%cmake \ %cmake \
-DUNIT_TESTING=ON \ -DUNIT_TESTING=ON
%{_builddir}/%{name}-%{version}
%__make %{?jobs:-j%jobs} VERBOSE=1 make %{?jobs:-j%jobs} VERBOSE=1
%install %install
pushd build %cmake_install
%makeinstall
popd
%check %check
pushd build pushd build
%__make test || true make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
cat Testing/Temporary/LastTest.log
popd popd
%clean
%__rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig