From 396842b16f1038c28e6f8ec1c97d09cf35a310c36fe712bbf36ee0166cfd319a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 14 Feb 2016 11:15:19 +0000 Subject: [PATCH] Accepting request 359311 from home:jengelh:branches:devel:tools - Editorial fixes to the description - Use %_smp_mflags for parallel build instead OBS-URL: https://build.opensuse.org/request/show/359311 OBS-URL: https://build.opensuse.org/package/show/devel:tools/nss_wrapper?expand=0&rev=13 --- nss_wrapper.changes | 6 ++++++ nss_wrapper.spec | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/nss_wrapper.changes b/nss_wrapper.changes index 21f0034..b5d824b 100644 --- a/nss_wrapper.changes +++ b/nss_wrapper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 14 10:51:29 UTC 2016 - jengelh@inai.de + +- Editorial fixes to the description +- Use %_smp_mflags for parallel build instead + ------------------------------------------------------------------- Thu Jan 14 08:34:11 UTC 2016 - asn@cryptomilk.org diff --git a/nss_wrapper.spec b/nss_wrapper.spec index c674104..81f43c6 100644 --- a/nss_wrapper.spec +++ b/nss_wrapper.spec @@ -43,26 +43,26 @@ Requires: cmake Requires: pkg-config %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. -a user space file server. To be able to test that you need the privilege to -modify the passwd and groups file. With nss_wrapper it is possible to define -your own passwd and groups file which will be used by software to act correctly +There are projects which provide daemons that need to be able to create, modify +and delete Unix users, or just switch user IDs to interact with the system, e.g. +a user space file server. To be able to test that, you need the privilege to +modify the passwd and groups files. With nss_wrapper, it is possible to define +your own passwd and groups files which will be used by software to act correctly while under test. -If you have a client and server under test they normally use functions to -resolve network names to addresses (dns) or vice versa. The nss_wrappers allow +If you have a client and server under test, they normally use functions to +resolve network names to addresses (DNS) or vice versa. The nss_wrappers allow you to create a hosts file to setup name resolution for the addresses you use with socket_wrapper. -To use it set the following environment variables: +To use it, set the following environment variables: LD_PRELOAD=libuid_wrapper.so NSS_WRAPPER_PASSWD=/path/to/passwd NSS_WRAPPER_GROUP=/path/to/group NSS_WRAPPER_HOSTS=/path/to/host -This package doesn't have a devel package cause this project is for +This package does not have a devel package, because this project is for development/testing. %prep @@ -72,7 +72,7 @@ development/testing. %cmake \ -DUNIT_TESTING=ON -make %{?jobs:-j%jobs} VERBOSE=1 +make %{?_smp_mflags} VERBOSE=1 %install %cmake_install