Use mingw macros without leading underscore
This commit is contained in:
parent
e5c048554d
commit
dc2977300f
@ -1,6 +1,6 @@
|
|||||||
%global __strip %{_mingw32_strip}
|
%global __strip %{mingw32_strip}
|
||||||
%global __objdump %{_mingw32_objdump}
|
%global __objdump %{mingw32_objdump}
|
||||||
%define __debug_install_post %{_mingw32_debug_install_post}
|
%define __debug_install_post %{mingw32_debug_install_post}
|
||||||
|
|
||||||
Name: mingw-pcre
|
Name: mingw-pcre
|
||||||
Version: 8.10
|
Version: 8.10
|
||||||
@ -24,7 +24,7 @@ BuildRequires: mingw32-binutils
|
|||||||
# New libtool to get rid of rpath
|
# New libtool to get rid of rpath
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
|
|
||||||
%{?_mingw32_debug_package}
|
%{?mingw32_debug_package}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Cross compiled Perl-compatible regular expression library for use with mingw32.
|
Cross compiled Perl-compatible regular expression library for use with mingw32.
|
||||||
@ -64,24 +64,24 @@ for F in ChangeLog; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{_mingw32_configure} --enable-utf8 --enable-unicode-properties --disable-static
|
%{mingw32_configure} --enable-utf8 --enable-unicode-properties --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/*
|
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/doc/*
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man/*
|
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/man/*
|
||||||
|
|
||||||
%files -n mingw32-pcre
|
%files -n mingw32-pcre
|
||||||
%{_mingw32_bindir}/pcre-config
|
%{mingw32_bindir}/pcre-config
|
||||||
%{_mingw32_bindir}/pcregrep.exe
|
%{mingw32_bindir}/pcregrep.exe
|
||||||
%{_mingw32_bindir}/pcretest.exe
|
%{mingw32_bindir}/pcretest.exe
|
||||||
%{_mingw32_bindir}/libpcre*.dll
|
%{mingw32_bindir}/libpcre*.dll
|
||||||
%{_mingw32_libdir}/libpcre*.dll.a
|
%{mingw32_libdir}/libpcre*.dll.a
|
||||||
%{_mingw32_libdir}/libpcre*.la
|
%{mingw32_libdir}/libpcre*.la
|
||||||
%{_mingw32_libdir}/pkgconfig/libpcre*.pc
|
%{mingw32_libdir}/pkgconfig/libpcre*.pc
|
||||||
%{_mingw32_includedir}/*.h
|
%{mingw32_includedir}/*.h
|
||||||
|
|
||||||
%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
|
%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
|
||||||
|
|
||||||
@ -89,6 +89,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man/*
|
|||||||
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 8.10-7
|
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 8.10-7
|
||||||
- Renamed the source package to mingw-pcre (#801011)
|
- Renamed the source package to mingw-pcre (#801011)
|
||||||
- Modernize the spec file
|
- Modernize the spec file
|
||||||
|
- Use mingw macros without leading underscore
|
||||||
|
|
||||||
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 8.10-6
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 8.10-6
|
||||||
- Rebuild against the mingw-w64 toolchain
|
- Rebuild against the mingw-w64 toolchain
|
||||||
|
Loading…
Reference in New Issue
Block a user