packages: blt/blt.spec - package missing symlink, use macros in install, co...
gotar
gotar at pld-linux.org
Mon Jun 25 10:45:00 CEST 2012
Author: gotar Date: Mon Jun 25 08:45:00 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- package missing symlink, use macros in install, cosmetics
---- Files affected:
packages/blt:
blt.spec (1.54 -> 1.55)
---- Diffs:
================================================================
Index: packages/blt/blt.spec
diff -u packages/blt/blt.spec:1.54 packages/blt/blt.spec:1.55
--- packages/blt/blt.spec:1.54 Mon Jun 25 10:31:06 2012
+++ packages/blt/blt.spec Mon Jun 25 10:44:55 2012
@@ -147,20 +147,19 @@
INSTALL_ROOT=$RPM_BUILD_ROOT \
libdir=%{_libdir}
-ln -sf libBLT24.so $RPM_BUILD_ROOT%{_libdir}/libBLT.so
-ln -sf libBLTlite24.so $RPM_BUILD_ROOT%{_libdir}/libBLTlite.so
+{__ln_s} libBLT24.so $RPM_BUILD_ROOT%{_libdir}/libBLT.so
+{__ln_s} libBLTlite24.so $RPM_BUILD_ROOT%{_libdir}/libBLTlite.so
-# use dynamically linked binaries
-mv -f $RPM_BUILD_ROOT%{_bindir}/bltsh{24,}
-mv -f $RPM_BUILD_ROOT%{_bindir}/bltwish{24,}
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/bltsh{24,}
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/bltwish{24,}
# bitmap.n is provided by tk-devel
-rm -f $RPM_BUILD_ROOT%{_mandir}/mann/bitmap.n
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/mann/bitmap.n
-mv -f $RPM_BUILD_ROOT%{_ulibdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -rf examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_ulibdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -ra examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-rm -f html/Makefile* $RPM_BUILD_ROOT%{_ulibdir}/blt2.4/{NEWS,README,PROBLEMS}
+%{__rm} html/Makefile* $RPM_BUILD_ROOT%{_ulibdir}/blt2.4/{NEWS,PROBLEMS,README}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -170,18 +169,19 @@
%files
%defattr(644,root,root,755)
-%doc README NEWS PROBLEMS
-%attr(755,root,root) %{_bindir}/*
+%doc NEWS PROBLEMS README
+%attr(755,root,root) %{_bindir}/blt*sh
%attr(755,root,root) %{_libdir}/libBLT*24.so
%{_ulibdir}/blt2.4
%files devel
%defattr(644,root,root,755)
%doc html
+%attr(755,root,root) %{_libdir}/libBLT.so
%attr(755,root,root) %{_libdir}/libBLT*[A-Za-z].so
%{_includedir}/blt*.h
-%{_mandir}/mann/*
-%{_mandir}/man3/*
+%{_mandir}/mann/*.n*
+%{_mandir}/man3/*.3*
%files static
%defattr(644,root,root,755)
@@ -197,6 +197,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.55 2012/06/25 08:44:55 gotar
+- package missing symlink, use macros in install, cosmetics
+
Revision 1.54 2012/06/25 08:31:06 gotar
- more install fixes
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/blt/blt.spec?r1=1.54&r2=1.55
More information about the pld-cvs-commit
mailing list