changeset 12a9e626fadb in /srv/hg/libpwquality
details:
http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=12a9...
summary: Fixes for problems found in review
diffstat:
.hgignore | 3 +++
libpwquality.spec.in | 20 ++++++++++++--------
2 files changed, 15 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r 11e238259d43 -r 12a9e626fadb .hgignore
--- a/.hgignore Tue Nov 01 14:12:22 2011 +0100
+++ b/.hgignore Tue Nov 01 14:13:48 2011 +0100
@@ -8,6 +8,9 @@
*.la
*.a
*.gmo
+*.tar.bz2
+*.tar.gz
+*.spec
POTFILES
Makefile
Makefile.in
diff -r 11e238259d43 -r 12a9e626fadb libpwquality.spec.in
--- a/libpwquality.spec.in Tue Nov 01 14:12:22 2011 +0100
+++ b/libpwquality.spec.in Tue Nov 01 14:13:48 2011 +0100
@@ -2,20 +2,20 @@
Name: libpwquality
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
-# The library is BSD licensed with option to relicense as GPLv2+
+# The package is BSD licensed with option to relicense as GPL+
# - this option is redundant as the BSD license allows that anyway.
-License: BSD and GPLv2+
+License: BSD or GPL+
Group: System Environment/Base
-Source0:
http://fedorahosted.org/releases/l/i/libpwquality-%{version}.tar.bz2
+Source0:
http://fedorahosted.org/releases/l/i/libpwquality/libpwquality-%{version}...
-%define _moduledir /%{_lib}/security
-%define _secconfdir %{_sysconfdir}/security
+%global _moduledir /%{_lib}/security
+%global _secconfdir %{_sysconfdir}/security
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: cracklib-dicts >= 2.8
-Requires(post): /sbin/ldconfig
+Requires: pam%{?_isa}
BuildRequires: cracklib-devel
BuildRequires: gettext
+BuildRequires: pam-devel
URL:
http://libpwquality.fedorahosted.org/
@@ -46,7 +46,7 @@
make %{?_smp_mflags}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
mkdir -p $RPM_BUILD_ROOT%{_libdir}
pushd $RPM_BUILD_ROOT%{_libdir}
@@ -80,5 +80,9 @@
%{_libdir}/libpwquality.so
%changelog
+* Mon Oct 10 2011 Tomas Mraz <tmraz(a)redhat.com> 0.9-2
+- fixes for problems found in review (missing BR on pam-devel,
+ License field, Source URL, Require pam, other cleanups)
+
* Mon Oct 3 2011 Tomas Mraz <tmraz(a)redhat.com> 0.9-1
- first spec file for libpwquality