diff --git a/nss_wrapper.changes b/nss_wrapper.changes index 651f1f5..8907b41 100644 --- a/nss_wrapper.changes +++ b/nss_wrapper.changes @@ -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 diff --git a/nss_wrapper.spec b/nss_wrapper.spec index feb65ad..fa2d785 100644 --- a/nss_wrapper.spec +++ b/nss_wrapper.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,12 @@ # 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 Version: 1.0.3 @@ -31,6 +37,9 @@ BuildRequires: cmake BuildRequires: libcmocka-devel BuildRequires: netcfg +Requires: pkg-config +Requires: cmake + %description 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. @@ -59,25 +68,18 @@ development/testing. %build %cmake \ - -DUNIT_TESTING=ON \ - %{_builddir}/%{name}-%{version} + -DUNIT_TESTING=ON -%__make %{?jobs:-j%jobs} VERBOSE=1 +make %{?jobs:-j%jobs} VERBOSE=1 %install -pushd build -%makeinstall -popd +%cmake_install %check pushd build -%__make test || true -cat Testing/Temporary/LastTest.log +make %{?_smp_mflags} test || cat $(find Testing -name "*.log") popd -%clean -%__rm -rf %{buildroot} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig