fix minor bug in ldc.conf

epel9
bioinfornatics 14 years ago
parent 2e04c8e526
commit c1d840b136

@ -8,7 +8,7 @@
Name: ldc
Version: 0.9.2
Release: 15.%{alphatag}%{hg_revision}%{?dist}
Release: 16.%{alphatag}%{hg_revision}%{?dist}
Summary: It is a compiler for the D programming language
Group: Development/Languages
@ -79,8 +79,8 @@ install --mode=0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macro
sed -i -e "s|-I.*/../tango\"|-I /usr/include/d/tango\"|" \
-e "/^.*-I.*%{name}-%{alphatag}%{hg_revision}\/..\/tango\/user.*$/d" \
-e "/^.*-I.*%{name}-%{alphatag}%{hg_revision}\/..\/tango\/lib\/common.*$/d" \
-e "s|-I.*/../tango/tango/core/vendor|-I /usr/include/d/tango/tango/core/vendor|" \
-e "s|-L-L\%\%ldcbinarypath\%\%/../lib|-L-L %{_libdir}/d|" \
-e "s|-I.*/../tango/tango/core/vendor|-I /usr/include/d/tango/core/vendor|" \
-e "s|-L-L\%\%ldcbinarypath\%\%/../lib|-L-L%{_libdir}/d|" \
-e "s|-defaultlib=tango-user-ldc|-defaultlib=tango|" \
-e "s|-debuglib=tango-user-ldc|-debuglib=tango|" \
-e "13a \ \ \ \ \ \ \ \ \"-I /usr/include/d/\"," %{buildroot}%{_sysconfdir}/ldc.conf
@ -102,6 +102,9 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/rpm/macros.ldc
%changelog
* Fri Aug 12 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.9.2-16.20100609hg1655
- fix minor bug in /etc/ldc.conf
* Fri Aug 12 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.9.2-15.20100609hg1655
- fix minor bug in /etc/ldc.conf

Loading…
Cancel
Save