rpms/libHX/devel libHX.spec,1.10,1.11
Till Maas
till at fedoraproject.org
Thu Nov 27 21:14:12 UTC 2008
- Previous message: rpms/shed/F-10 .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 shed.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message: rpms/ristretto/devel .cvsignore, 1.2, 1.3 ristretto.spec, 1.2, 1.3 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: till
Update of /cvs/pkgs/rpms/libHX/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10016
Modified Files:
libHX.spec
Log Message:
* Thu Nov 27 2008 Till Maas <opensource at till.name> - 1.25-2
- Move libHX.so.* to /%{_lib} because of /sbin/mount.crypt from pam_mount
Index: libHX.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libHX/devel/libHX.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- libHX.spec 11 Sep 2008 16:23:56 -0000 1.10
+++ libHX.spec 27 Nov 2008 21:13:42 -0000 1.11
@@ -1,6 +1,6 @@
Name: libHX
Version: 1.25
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: General-purpose library for typical low-level operations
Group: System Environment/Libraries
@@ -42,7 +42,10 @@
%build
-%configure --disable-static
+# Move libHX.so.* to /%{_lib}:
+# /sbin/mount.crypt from pam_mount uses libHX
+# /lib/security/pam_mount.so from pam_mount uses libHX
+%configure --disable-static --libdir=/%{_lib} --with-pkgconfigdir=%{_libdir}/pkgconfig
make %{?_smp_mflags} V=verbose
@@ -52,6 +55,13 @@
make install DESTDIR=$RPM_BUILD_ROOT V=verbose
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+# move libHX.so to %{_libdir}
+pushd $RPM_BUILD_ROOT/%{_lib}
+rm libHX.so
+mkdir -p $RPM_BUILD_ROOT/%{_libdir}
+ln -s ../../%{_lib}/libHX.so.?.?.? $RPM_BUILD_ROOT/%{_libdir}/libHX.so
+popd
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -65,7 +75,7 @@
%files
%defattr(-,root,root,-)
%doc LICENSE.LGPL2 LICENSE.LGPL3 LICENSE.GPL3
-%{_libdir}/*.so.*
+/%{_lib}/*.so.*
%files devel
@@ -77,6 +87,9 @@
%changelog
+* Thu Nov 27 2008 Till Maas <opensource at till.name> - 1.25-2
+- Move libHX.so.* to /%%{_lib} because of /sbin/mount.crypt from pam_mount
+
* Thu Sep 11 2008 Till Maas <opensource at till.name> - 1.25-1
- Update to latest version
- Previous message: rpms/shed/F-10 .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 shed.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message: rpms/ristretto/devel .cvsignore, 1.2, 1.3 ristretto.spec, 1.2, 1.3 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list