Fix symlinked man variants. Preserve timestamps on the older gl-manpages.
This commit is contained in:
parent
bf0de0ad58
commit
419af147e4
@ -2,7 +2,7 @@
|
||||
|
||||
Name: gl-manpages
|
||||
Version: 1.1
|
||||
Release: 2.%{codate}%{?dist}
|
||||
Release: 3.%{codate}%{?dist}
|
||||
Summary: OpenGL manpages
|
||||
|
||||
License: MIT and Open Publication
|
||||
@ -50,7 +50,8 @@ cp -n {man4,man3,man}/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
|
||||
# when matchin don't clobber the khronos version
|
||||
for MANP in `find gl-manpages-1.0.1 -name *.3gl` ; do
|
||||
FN=${MANP//*\//}
|
||||
cp -n $MANP $RPM_BUILD_ROOT%{_mandir}/man3/${FN/.3gl/.3G}
|
||||
cp -a -n $MANP $RPM_BUILD_ROOT%{_mandir}/man3/${FN/.3gl/.3G}
|
||||
find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.3gl/\.3G/'
|
||||
done
|
||||
|
||||
|
||||
@ -59,6 +60,10 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 15 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-3.%{codate}
|
||||
- Fix symlinked man variants.
|
||||
- Preserve timestamps on the older gl-manpages.
|
||||
|
||||
* Tue Oct 9 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-2.%{codate}
|
||||
- Re-add the older gl-manpages for those not present in khronos
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user