- Fixed %defattr line
- Added -static subpackage
This commit is contained in:
parent
68f3093f15
commit
c2a1431a48
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
Name: mingw32-openssl
|
Name: mingw32-openssl
|
||||||
Version: 0.9.8j
|
Version: 0.9.8j
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: MinGW port of the OpenSSL toolkit
|
Summary: MinGW port of the OpenSSL toolkit
|
||||||
|
|
||||||
License: OpenSSL
|
License: OpenSSL
|
||||||
@ -131,6 +131,14 @@ protocols.
|
|||||||
This package contains Windows (MinGW) libraries and development tools.
|
This package contains Windows (MinGW) libraries and development tools.
|
||||||
|
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: Static version of the MinGW port of the OpenSSL toolkit
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description static
|
||||||
|
Static version of the MinGW port of the OpenSSL toolkit.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n openssl-%{version}
|
%setup -q -n openssl-%{version}
|
||||||
|
|
||||||
@ -282,10 +290,6 @@ make INSTALL_PREFIX=$RPM_BUILD_ROOT install build-shared
|
|||||||
install libcrypto-%{soversion}.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
|
install libcrypto-%{soversion}.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
|
||||||
install libssl-%{soversion}.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
|
install libssl-%{soversion}.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
|
||||||
|
|
||||||
# Remove static libraries but DON'T remove *.dll.a files.
|
|
||||||
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libcrypto.a
|
|
||||||
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libssl.a
|
|
||||||
|
|
||||||
# I have no idea why it installs the manpages in /etc, but
|
# I have no idea why it installs the manpages in /etc, but
|
||||||
# we remove them anyway.
|
# we remove them anyway.
|
||||||
rm -r $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/tls/man
|
rm -r $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/tls/man
|
||||||
@ -313,7 +317,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_mingw32_bindir}/openssl.exe
|
%{_mingw32_bindir}/openssl.exe
|
||||||
%{_mingw32_bindir}/c_rehash
|
%{_mingw32_bindir}/c_rehash
|
||||||
@ -328,7 +332,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) %{_mingw32_sysconfdir}/pki
|
%config(noreplace) %{_mingw32_sysconfdir}/pki
|
||||||
|
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_mingw32_libdir}/libcrypto.a
|
||||||
|
%{_mingw32_libdir}/libssl.a
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 14 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.9.8j-5
|
||||||
|
- Fixed %%defattr line
|
||||||
|
- Added -static subpackage
|
||||||
|
|
||||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8j-4
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8j-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user