[mingw-celt051: 8/9] Use mingw macros without leading underscore
epienbro
epienbro at fedoraproject.org
Wed Mar 7 15:55:22 UTC 2012
commit 11195581dc68796116d52018d3f873bc6b611cf9
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Wed Mar 7 16:53:45 2012 +0100
Use mingw macros without leading underscore
mingw-celt051.spec | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/mingw-celt051.spec b/mingw-celt051.spec
index f37807b..8fb024b 100644
--- a/mingw-celt051.spec
+++ b/mingw-celt051.spec
@@ -1,8 +1,8 @@
-%global __strip %{_mingw32_strip}
-%global __objdump %{_mingw32_objdump}
+%global __strip %{mingw32_strip}
+%global __objdump %{mingw32_objdump}
%global _use_internal_dependency_generator 0
-%global __find_requires %{_mingw32_findrequires}
-%global __find_provides %{_mingw32_findprovides}
+%global __find_requires %{mingw32_findrequires}
+%global __find_provides %{mingw32_findprovides}
Name: mingw-celt051
Version: 0.5.1.3
@@ -57,27 +57,28 @@ This is meant to close the gap between traditional speech codecs
%build
autoreconf -i -f
-%{_mingw32_configure}
+%{mingw32_configure}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
-rm -f %{buildroot}/%{_mingw32_libdir}/libcelt051.a
+rm -f %{buildroot}/%{mingw32_libdir}/libcelt051.a
%files -n mingw32-celt051
%defattr(-,root,root,-)
%doc COPYING README TODO
-%{_mingw32_bindir}/celtenc051.exe
-%{_mingw32_bindir}/celtdec051.exe
-%{_mingw32_bindir}/libcelt051-0.dll
-%{_mingw32_includedir}/celt051
-%{_mingw32_libdir}/libcelt051.la
-%{_mingw32_libdir}/libcelt051.dll.a
-%{_mingw32_libdir}/pkgconfig/celt051.pc
+%{mingw32_bindir}/celtenc051.exe
+%{mingw32_bindir}/celtdec051.exe
+%{mingw32_bindir}/libcelt051-0.dll
+%{mingw32_includedir}/celt051
+%{mingw32_libdir}/libcelt051.la
+%{mingw32_libdir}/libcelt051.dll.a
+%{mingw32_libdir}/pkgconfig/celt051.pc
%changelog
* Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.5.1.3-7
- Renamed the source package to mingw-celt051 (RHBZ #800851)
+- Use mingw macros without leading underscore
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.5.1.3-6
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list