]> git.pld-linux.org Git - packages/attr.git/commitdiff
- autodetect libattr filename when creating libattr.so symlink
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 6 May 2003 21:49:27 +0000 (21:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added README to doc

Changed files:
    attr.spec -> 1.33

attr.spec

index eeaaf14c1069fb8699b132859245240b91823175..8e31b45675a0705b9837478569167a6ed2051d85 100644 (file)
--- a/attr.spec
+++ b/attr.spec
@@ -3,6 +3,7 @@ Summary(pl):    Narz
 Name:          attr
 Version:       2.4.1
 Release:       2
+# most part is on LGPL v2.1, but the rest enforces GPL
 License:       GPL
 Group:         Applications/System
 Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
@@ -78,7 +79,8 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
 rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
 rm -rf $RPM_BUILD_ROOT%{_mandir}/man2
 
-ln -sf %{_libdir}/libattr.so.1.1.0 $RPM_BUILD_ROOT%{_libexecdir}/libattr.so
+ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT/lib ; echo libattr.so.*.*.*) \
+        $RPM_BUILD_ROOT%{_libexecdir}/libattr.so
 
 echo ".so attr_get.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
 echo ".so attr_list.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
@@ -96,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc doc/CHANGES
+%doc README doc/CHANGES
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_mandir}/man[18]/*
This page took 0.114511 seconds and 4 git commands to generate.