[mingw-libidn: 17/18] Dropped unneeded RPM tags
epienbro
epienbro at fedoraproject.org
Wed Mar 7 19:23:46 UTC 2012
commit bb3a3ea70f875ef6591ee34dda5082ff9a30ddba
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Wed Mar 7 20:21:26 2012 +0100
Dropped unneeded RPM tags
mingw-libidn.spec | 17 +++--------------
1 files changed, 3 insertions(+), 14 deletions(-)
---
diff --git a/mingw-libidn.spec b/mingw-libidn.spec
index aae44d9..4f19561 100644
--- a/mingw-libidn.spec
+++ b/mingw-libidn.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}
# Native Fedora package is ancient, 0.6.14, which doesn't even
@@ -18,7 +15,6 @@ License: LGPLv2+
Group: Development/Libraries
URL: http://www.gnu.org/software/libidn/
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -29,8 +25,6 @@ BuildRequires: mingw32-gettext
BuildRequires: mingw32-win-iconv
BuildRequires: pkgconfig, gettext
-Requires: pkgconfig
-
%description
GNU Libidn is an implementation of the Stringprep, Punycode and
@@ -40,7 +34,8 @@ names.
%package -n mingw32-libidn
-Summary: MinGW Windows zlib compression library for the win32 target
+Summary: MinGW Windows zlib compression library for the win32 target
+Requires: pkgconfig
%description -n mingw32-libidn
GNU Libidn is an implementation of the Stringprep, Punycode and
@@ -71,7 +66,6 @@ make
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# Remove documentation which duplicates native Fedora package.
@@ -85,12 +79,7 @@ rm -f $RPM_BUILD_ROOT%{mingw32_bindir}/libidn-11.def
%find_lang libidn
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files -n mingw32-libidn -f libidn.lang
-%defattr(-,root,root,-)
%doc COPYING COPYING.LIB
%{mingw32_bindir}/idn.exe
%{mingw32_bindir}/libidn-11.dll
@@ -101,7 +90,6 @@ rm -rf $RPM_BUILD_ROOT
%files -n mingw32-libidn-static
-%defattr(-,root,root,-)
%{mingw32_libdir}/libidn.a
@@ -109,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
* Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.14-12
- Renamed the source package to mingw-libidn (RHBZ #800914)
- Use mingw macros without leading underscore
+- Dropped unneeded RPM tags
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.14-11
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list