rpms/rpmlint/FC-3 .cvsignore, 1.6, 1.7 rpmlint-fedora-config, 1.4, 1.5 rpmlint.spec, 1.10, 1.11 sources, 1.6, 1.7

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Apr 16 16:12:40 UTC 2005


Author: scop

Update of /cvs/extras/rpms/rpmlint/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9276/FC-3

Modified Files:
	.cvsignore rpmlint-fedora-config rpmlint.spec sources 
Log Message:
0.69, default config and miscellaneous other improvements.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rpmlint/FC-3/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	13 Mar 2005 20:52:19 -0000	1.6
+++ .cvsignore	16 Apr 2005 16:12:38 -0000	1.7
@@ -1 +1 @@
-rpmlint-0.68.tar.bz2
+rpmlint-0.69.tar.bz2


Index: rpmlint-fedora-config
===================================================================
RCS file: /cvs/extras/rpms/rpmlint/FC-3/rpmlint-fedora-config,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rpmlint-fedora-config	13 Mar 2005 20:52:20 -0000	1.4
+++ rpmlint-fedora-config	16 Apr 2005 16:12:38 -0000	1.5
@@ -4,15 +4,13 @@
 
 from Config import *
 
-#setOption("Vendor", "Fedora Extras")
-#setOption("Distribution", "Fedora Extras")
 setOption("ReleaseExtension", '')
 setOption("ValidBuildHost", ".*")
 setOption("Packager", ".*")
 setOption("UseVersionInChangeLog", 1)
 setOption("UseBzip2", 0)
 setOption("UseEpoch", 0)
-setOption("ValidSrcPerms", (0644, ))
+setOption("ValidSrcPerms", (0664, 0644, ))
 setOption("ValidGroups", (
     "Amusements/Games",
     "Amusements/Graphics",
@@ -83,3 +81,8 @@
 addFilter("W: .* (python|perl5)-naming-policy-not-applied.*")
 addFilter("W: .* invalid-distribution .*")
 addFilter("W: .* invalid-vendor .*")
+addFilter("E: .* incoherent-version-in-name.*")
+addFilter("E: .* invalid-build-requires .*")
+addFilter("E: .* no-packager-tag")
+addFilter("W: .* ghost-files-without-postin")
+addFilter("W: .* postin-without-ghost-file-creation .*")


Index: rpmlint.spec
===================================================================
RCS file: /cvs/extras/rpms/rpmlint/FC-3/rpmlint.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- rpmlint.spec	15 Mar 2005 08:29:38 -0000	1.10
+++ rpmlint.spec	16 Apr 2005 16:12:38 -0000	1.11
@@ -1,13 +1,13 @@
 Name:           rpmlint
-Version:        0.68
+Version:        0.69
 Release:        1
 Epoch:          0
-Summary:        RPM correctness checker
+Summary:        Tool for checking common errors in RPM packages
 
 Group:          Development/Tools
 License:        GPL
 URL:            http://people.mandrakesoft.com/~flepied/projects/rpmlint/
-Source0:        http://people.mandrakesoft.com/~flepied/projects/rpmlint/dist/rpmlint-0.68.tar.bz2
+Source0:        http://people.mandrakesoft.com/~flepied/projects/rpmlint/dist/%{name}-%{version}.tar.bz2
 Source1:        %{name}-fedora-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -24,6 +24,9 @@
 %setup -q
 %{__perl} -pi -e 's|/etc/httpd/webapps\.d|%{_sysconfdir}/httpd/conf.d|' \
   FilesCheck.py I18NCheck.py
+for f in AUTHORS ChangeLog ; do
+  iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
+done
 
 
 %build
@@ -33,10 +36,8 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_datadir}/rpmlint/compile.pyo
-install -pm 644 rpmlint.bash-completion $RPM_BUILD_ROOT%{_datadir}/rpmlint
-install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
-touch $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/rpmlint
+install -Dpm 644 rpmlint.bash-completion \
+  $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/rpmlint
 install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/config
 
 # Take care of files that may be generated later.
@@ -60,28 +61,29 @@
 rm -rf $RPM_BUILD_ROOT
 
 
-%triggerin -- bash-completion
-if [ ! -e %{_sysconfdir}/bash_completion.d/rpmlint ] ; then
-  ln -s %{_datadir}/rpmlint/rpmlint.bash-completion \
-    %{_sysconfdir}/bash_completion.d/rpmlint
-fi
-
-%triggerun -- bash-completion
-[ $2 -gt 0 ] || rm -f %{_sysconfdir}/bash_completion.d/rpmlint
-
-
 %files -f %{name}-%{version}-files.list
 %defattr(-,root,root,0755)
 %doc AUTHORS COPYING ChangeLog README
 %{_bindir}/rpm*
 %dir %{_datadir}/rpmlint
-%{_datadir}/rpmlint/rpmlint.bash-completion
+%exclude %{_datadir}/rpmlint/check-install.py*
 %dir %{_sysconfdir}/rpmlint
 %config(noreplace) %{_sysconfdir}/rpmlint/config
-%ghost %{_sysconfdir}/bash_completion.d/rpmlint
+# Not config (yet?) to achieve clean upgrade from pre-0.69.
+%{_sysconfdir}/bash_completion.d
 
 
 %changelog
+* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.69-1
+- 0.69.
+- Simplify bash-completion snippet installation, remove triggers.
+- Default configuration improvements: filter messages about missing packager,
+  Mandriva specific package naming conventions, %%ghost files without
+  %%post scriptlets, and 0664 source permissions.
+- Exclude check-install.py, it doesn't currently work with rpm >= 4.2.
+- Convert docs to UTF-8.
+- Improve summary.
+
 * Sun Mar 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.68-1
 - 0.68, siteperl patch applied upstream.
 - Fix "no-dependency-on" filtering in default config.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rpmlint/FC-3/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	13 Mar 2005 20:52:20 -0000	1.6
+++ sources	16 Apr 2005 16:12:38 -0000	1.7
@@ -1 +1 @@
-e321c9868b403366d314c77e637e09b9  rpmlint-0.68.tar.bz2
+5e5bc5e2d493e35e300b7498824fee1d  rpmlint-0.69.tar.bz2




More information about the fedora-extras-commits mailing list