rpms/fuse/FC-6 fuse.spec,1.21,1.22
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Tue Jul 24 16:15:31 UTC 2007
Author: spot
Update of /cvs/pkgs/rpms/fuse/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3451/FC-6
Modified Files:
fuse.spec
Log Message:
Fix issues (pkgconfig, compat symlinks)
Index: fuse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fuse/FC-6/fuse.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- fuse.spec 22 Jul 2007 06:02:08 -0000 1.21
+++ fuse.spec 24 Jul 2007 16:14:59 -0000 1.22
@@ -1,6 +1,6 @@
Name: fuse
Version: 2.7.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: File System in Userspace (FUSE) utilities
Group: System Environment/Base
@@ -78,10 +78,19 @@
install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/makedev.d/z-fuse
# change from 4755 to 0755 to allow stripping -- fixed later in files
chmod 0755 $RPM_BUILD_ROOT/bin/fusermount
+# Put pc file in correct place
+mkdir -p $RPM_BUILD_ROOT%{_libdir}
+mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT%{_libdir}
# Get rid of static libs
rm -f $RPM_BUILD_ROOT/%{_lib}/*.a
+# Compatibility symlinks
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+cd $RPM_BUILD_ROOT%{_bindir}
+ln -s /bin/fusermount fusermount
+ln -s /bin/ulockmgr_server ulockmgr_server
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -111,6 +120,9 @@
/bin/ulockmgr_server
%{_sysconfdir}/init.d/fuse
%{_sysconfdir}/makedev.d/z-fuse
+# Compat symlinks
+%{_bindir}/fusermount
+%{_bindir}/ulockmgr_server
%config %{_sysconfdir}/udev/rules.d/99-fuse.rules
%config %{_sysconfdir}/udev/makedev.d/99-fuse.nodes
@@ -124,12 +136,16 @@
%defattr(-,root,root,-)
/%{_lib}/libfuse.so
/%{_lib}/libulockmgr.so
-/%{_lib}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/*.pc
%{_includedir}/fuse.h
%{_includedir}/ulockmgr.h
%{_includedir}/fuse
%changelog
+* Sun Jul 22 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.7.0-3
+- put pkgconfig file in correct place
+- enable compat symlinks for files in /bin
+
* Sat Jul 21 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.7.0-2
- redefine exec_prefix to /
- redefine bindir to /bin
More information about the fedora-extras-commits
mailing list