rpms/mingw32-filesystem/devel mingw32-rpmlint.config, NONE, 1.1 mingw32-filesystem.spec, 1.11, 1.12

Richard W.M. Jones rjones at fedoraproject.org
Mon Jan 26 17:21:58 UTC 2009


Author: rjones

Update of /cvs/pkgs/rpms/mingw32-filesystem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6745

Modified Files:
	mingw32-filesystem.spec 
Added Files:
	mingw32-rpmlint.config 
Log Message:
* Mon Jan 26 2009 Richard W.M. Jones <rjones at redhat.com> - 44-1
- Install rpmlint overrides file to suppress some rpmlint warnings.



--- NEW FILE mingw32-rpmlint.config ---
# rpmlint overrides file.
# This file filters out MinGW warnings.
# See: http://fedoraproject.org/wiki/MinGW/Rpmlint

# Unconditionally remove devel-file-in-non-devel rpmlint warning.
addFilter ("^mingw32-.*devel-file-in-non-devel")

# /usr/i686-pc-mingw32 is permitted by MinGW packaging guidelines.
addFilter ("^mingw32-.*non-standard-dir-in-usr i686-pc-mingw32")

# Permit *.la files (error is a bit odd, but it's what rpmlint prints).
addFilter ("^mingw32-.*script-without-shebang.*\.la$")

# GCC and libtool create executable archive files.  It's not clear
# why, but we permit this for now.
addFilter ("^mingw32-.*spurious-executable-perm.*\.dll\.a$")

# *.dll.a files are permitted arch-independent objects.
addFilter ("^mingw32-.*arch-independent-package-contains-binary-or-object.*\.dll\.a$")


Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-filesystem.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mingw32-filesystem.spec	24 Jan 2009 18:11:43 -0000	1.11
+++ mingw32-filesystem.spec	26 Jan 2009 17:21:27 -0000	1.12
@@ -1,8 +1,8 @@
 %define debug_package %{nil}
 
 Name:           mingw32-filesystem
-Version:        43
-Release:        6%{?dist}
+Version:        44
+Release:        1%{?dist}
 Summary:        MinGW base filesystem and environment
 
 Group:          Development/Libraries
@@ -18,9 +18,13 @@
 Source4:        mingw32-find-requires.sh
 Source5:        mingw32-find-provides.sh
 Source6:        mingw32-scripts.sh
+Source7:        mingw32-rpmlint.config
 
 Requires:       setup
 Requires:       rpm
+Requires:       rpmlint >= 0.85-2
+
+BuildRequires:  rpmlint >= 0.85-2
 
 # Note about 'Provides: mingw32(foo.dll)'
 # ------------------------------------------------------------
@@ -88,6 +92,9 @@
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
 install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.mingw32
 
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint
+install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/
+
 mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32
 
 # GCC requires these directories, even though they contain links
@@ -137,6 +144,7 @@
 %config(noreplace) %{_sysconfdir}/rpm/macros.mingw32
 %config(noreplace) %{_sysconfdir}/profile.d/mingw32.sh
 #%config(noreplace) %{_sysconfdir}/profile.d/mingw32.csh
+%config(noreplace) %{_sysconfdir}/rpmlint/mingw32-rpmlint.config
 %{_bindir}/mingw32-configure
 %{_bindir}/mingw32-make
 %{_libexecdir}/mingw32-scripts
@@ -145,6 +153,9 @@
 
 
 %changelog
+* Mon Jan 26 2009 Richard W.M. Jones <rjones at redhat.com> - 44-1
+- Install rpmlint overrides file to suppress some rpmlint warnings.
+
 * Sat Jan 24 2009 Richard W.M. Jones <rjones at redhat.com> - 43-6
 - Don't claim C++ compiler exists if it's not installed, as this
   breaks autoconf and (in particular) libtool.




More information about the scm-commits mailing list