|
|
@ -1,8 +1,5 @@
|
|
|
|
%define __strip %{_mingw32_strip}
|
|
|
|
%define __strip %{_mingw32_strip}
|
|
|
|
%define __objdump %{_mingw32_objdump}
|
|
|
|
%define __objdump %{_mingw32_objdump}
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
|
|
|
%define __find_requires %{_mingw32_findrequires}
|
|
|
|
|
|
|
|
%define __find_provides %{_mingw32_findprovides}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define run_tests 0
|
|
|
|
%define run_tests 0
|
|
|
|
|
|
|
|
|
|
|
@ -29,8 +26,6 @@ Patch1: libgcrypt-1.4.4-fips-no-access.patch
|
|
|
|
# libgcrypt-use-correct-def-file.patch
|
|
|
|
# libgcrypt-use-correct-def-file.patch
|
|
|
|
Patch2: libgcrypt-use-correct-def-file.patch
|
|
|
|
Patch2: libgcrypt-use-correct-def-file.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: mingw32-filesystem >= 49
|
|
|
|
BuildRequires: mingw32-filesystem >= 49
|
|
|
@ -90,8 +85,6 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
|
|
# Remove info pages which duplicate what is in Fedora natively.
|
|
|
|
# Remove info pages which duplicate what is in Fedora natively.
|
|
|
@ -100,12 +93,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_infodir}
|
|
|
|
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgcrypt.def
|
|
|
|
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgcrypt.def
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw32-libgcrypt
|
|
|
|
%files -n mingw32-libgcrypt
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%doc COPYING COPYING.LIB
|
|
|
|
%doc COPYING COPYING.LIB
|
|
|
|
%{_mingw32_bindir}/dumpsexp.exe
|
|
|
|
%{_mingw32_bindir}/dumpsexp.exe
|
|
|
|
%{_mingw32_bindir}/hmac256.exe
|
|
|
|
%{_mingw32_bindir}/hmac256.exe
|
|
|
@ -121,6 +109,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 1.4.4-8
|
|
|
|
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 1.4.4-8
|
|
|
|
- Renamed the source package to mingw-libgcrypt (#800428)
|
|
|
|
- Renamed the source package to mingw-libgcrypt (#800428)
|
|
|
|
|
|
|
|
- Spec clean up
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.4.4-7
|
|
|
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.4.4-7
|
|
|
|
- Rebuild against the mingw-w64 toolchain
|
|
|
|
- Rebuild against the mingw-w64 toolchain
|
|
|
|