rpms/mailman/devel mailman.spec,1.90,1.91

Daniel Novotny dnovotny at fedoraproject.org
Wed Jan 13 15:35:34 UTC 2010


Author: dnovotny

Update of /cvs/extras/rpms/mailman/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21483

Modified Files:
	mailman.spec 
Log Message:
revert libdir change (merge review)



Index: mailman.spec
===================================================================
RCS file: /cvs/extras/rpms/mailman/devel/mailman.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -p -r1.90 -r1.91
--- mailman.spec	22 Dec 2009 12:54:04 -0000	1.90
+++ mailman.spec	13 Jan 2010 15:35:33 -0000	1.91
@@ -1,7 +1,7 @@
 Summary: Mailing list manager with built in Web access
 Name: mailman
 Version: 2.1.12
-Release: 13%{?dist}
+Release: 14%{?dist}
 Epoch: 3
 Group: Applications/Internet
 Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz
@@ -47,7 +47,11 @@ BuildRequires: python-devel >= 2.2, auto
 %define contentdir /var/www
 
 # Installation directories
-%define mmdir %{_libdir}/%{name}
+# rpmlint will give an error about hardcoded library path,
+# but this is necessary, because there are python executables inside,
+# which the user can run in their scripts. 
+# see rhbz#226117 for more information
+%define mmdir /usr/lib/%{name}
 %define varmmdir /var/lib/%{name}
 %define docdir /usr/share/doc/%{name}-%{version}
 %define configdir /etc/%{name}
@@ -135,8 +139,12 @@ CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
 rm -f configure
 aclocal
 autoconf
+# rpmlint will give an error about hardcoded library path,
+# but this is necessary, because there are python executables inside,
+# which the user can run in their scripts. 
+# see rhbz#226117 for more information
 ./configure \
-        --libdir=%{_libdir} \
+        --libdir=/usr/lib \
         --prefix=%{mmdir} \
         --with-var-prefix=%{varmmdir} \
         --with-config-dir=%{configdir} \
@@ -499,6 +507,10 @@ exit 0
 %attr(0755,root,root) %{_bindir}/mailman-update-cfg
 
 %changelog
+* Wed Jan 13 2010 Daniel Novotny <dnovotny at redhat.com> 3:2.1.12-14
+- revert _libdir change, because it disturbs scripts invocation 
+  (see #226117 discussion)
+
 * Tue Dec 22 2009 Daniel Novotny <dnovotny at redhat.com> 3:2.1.12-13
 - the service is now not on by default (change for merge review, #226117)
 



More information about the scm-commits mailing list