[mingw-gnutls: 23/23] Dropped unneeded RPM tags
epienbro
epienbro at fedoraproject.org
Wed Mar 7 17:23:22 UTC 2012
commit 002074baca34cacd7a22bc70cb37947768cd02c1
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Wed Mar 7 18:21:14 2012 +0100
Dropped unneeded RPM tags
mingw-gnutls.spec | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/mingw-gnutls.spec b/mingw-gnutls.spec
index 67dce6e..8779ae7 100644
--- a/mingw-gnutls.spec
+++ b/mingw-gnutls.spec
@@ -1,8 +1,5 @@
%global __strip %{mingw32_strip}
%global __objdump %{mingw32_objdump}
-%global _use_internal_dependency_generator 0
-%global __find_requires %{mingw32_findrequires}
-%global __find_provides %{mingw32_findprovides}
%define __debug_install_post %{mingw32_debug_install_post}
Name: mingw-gnutls
@@ -17,7 +14,6 @@ URL: http://www.gnutls.org/
# We use the same source tarball as Fedora native package, which
# has the patent tainted SRP code removed.
Source0: gnutls-%{version}-nosrp.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -53,8 +49,6 @@ BuildRequires: pkgconfig
# For native /usr/bin/msgfmt etc.
BuildRequires: gettext
-Requires: pkgconfig
-
%description
GnuTLS TLS/SSL encryption library. This library is cross-compiled
@@ -63,6 +57,7 @@ for MinGW.
%package -n mingw32-gnutls
Summary: MinGW GnuTLS TLS/SSL encryption library
+Requires: pkgconfig
%description -n mingw32-gnutls
GnuTLS TLS/SSL encryption library. This library is cross-compiled
@@ -106,8 +101,6 @@ cp lib/COPYING COPYING.LIB
%install
-rm -rf $RPM_BUILD_ROOT
-
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{mingw32_datadir}/info/dir
@@ -118,12 +111,7 @@ rm -rf $RPM_BUILD_ROOT%{mingw32_mandir}
%find_lang libgnutls
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files -n mingw32-gnutls -f libgnutls.lang
-%defattr(-,root,root)
%doc COPYING COPYING.LIB
%{mingw32_bindir}/certtool.exe
%{mingw32_bindir}/gnutls-cli-debug.exe
@@ -155,6 +143,7 @@ rm -rf $RPM_BUILD_ROOT
* Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.12.14-5
- Renamed the source package to mingw-gnutls (RHBZ #800878)
- Use mingw macros without leading underscore
+- Dropped unneeded RPM tags
* Tue Feb 28 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.12.14-4
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list