rpmlint/rpmlint.spec

661 lines
25 KiB
RPMSpec
Raw Normal View History

# pass --without tests to skip the test suite
%bcond_without tests
2021-08-17 20:29:27 +00:00
Name: rpmlint
2023-11-21 17:33:55 +00:00
Version: 2.5.0
Release: 5%{?dist}
Summary: Tool for checking common errors in RPM packages
License: GPL-2.0-or-later
URL: https://github.com/rpm-software-management/rpmlint
Source0: %{url}/archive/%{version}/rpmlint-%{version}.tar.gz
2021-06-03 18:59:34 +00:00
# Taken from https://github.com/rpm-software-management/rpmlint/tree/main/configs/Fedora
Source1: fedora.toml
Source3: scoring.toml
Source4: users-groups.toml
Source5: warn-on-functions.toml
# Fix from @danigm to reset checks for each package
# https://github.com/rpm-software-management/rpmlint/pull/1163
Patch0: https://patch-diff.githubusercontent.com/raw/rpm-software-management/rpmlint/pull/1163.patch
BuildArch: noarch
# use git to apply patches; it handles binary diffs
BuildRequires: git-core
BuildRequires: python3-devel
2021-06-03 18:59:34 +00:00
# tests
%if %{with tests}
%if ! 0%{?rhel}
BuildRequires: dash
BuildRequires: devscripts-checkbashisms
%endif
BuildRequires: hunspell-cs
BuildRequires: hunspell-en-US
BuildRequires: python3dist(pytest)
%if ! 0%{?rhel}
BuildRequires: python3dist(pytest-xdist)
%endif
BuildRequires: /usr/bin/appstream-util
BuildRequires: /usr/bin/desktop-file-validate
%endif
%if ! 0%{?rhel}
Requires: dash
Requires: devscripts-checkbashisms
%endif
Requires: rpm-build
Requires: /usr/bin/appstream-util
Requires: /usr/bin/desktop-file-validate
%if 0%{?fedora}
Requires: rpmlint-fedora-license-data
%endif
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
%description
2019-04-30 22:51:37 +00:00
rpmlint is a tool for checking common errors in RPM packages. Binary
and source packages as well as spec files can be checked.
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
%prep
%autosetup -p1 -Sgit
# Replace python-magic dep with file-magic (rhbz#1899279)
sed -i 's/python-magic/file-magic/g' pyproject.toml
%if 0%{?rhel}
# Avoid extra dependencies for checks not needed in RHEL
# pybeam: ErlangCheck
sed -i -e '/pybeam/d' pyproject.toml
sed -i -e '/ErlangCheck/d' rpmlint/configdefaults.toml test/test_lint.py
%endif
# Don't lint the code or measure coverage in %%check
# On RHEL, also avoid xdist by disabling parallelism
sed -i -e '/^ *--cov=rpmlint$/d' %{?rhel:-e '/^ *-n auto$/d'} pytest.ini
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
# Avoid warnings about pytest.mark.no_cover marker
sed -i '/^@pytest.mark.no_cover/d' test/test_lint.py
%generate_buildrequires
%pyproject_buildrequires
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
%build
%pyproject_wheel
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
%install
%pyproject_install
%pyproject_save_files %{name}
2021-06-03 18:59:34 +00:00
mkdir -p %{buildroot}%{_sysconfdir}/xdg/rpmlint/
%if 0%{?fedora}
cp -a %{SOURCE1} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}/xdg/rpmlint/
%endif
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
%check
2021-08-17 20:29:27 +00:00
%if %{with tests}
%pytest %{?rhel:--ignore test/test_erlang.py}
2021-08-17 20:29:27 +00:00
%endif
%files -f %{pyproject_files}
2021-06-03 18:59:34 +00:00
%doc README.md
%dir %{_sysconfdir}/xdg/rpmlint
%if 0%{?fedora}
2021-06-03 18:59:34 +00:00
%config(noreplace) %{_sysconfdir}/xdg/rpmlint/*.toml
%endif
%{_bindir}/rpmdiff
%{_bindir}/rpmlint
auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle <cbelisle@mandrakesoft.com> 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in <tmppath>/<pkgname>.<pid> Mon Apr 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied <flepied@mandrakesoft.com> 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied <flepied@mandrakesoft.com> - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add Doc. Thu Oct 07 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.3. Mon Oct 04 1999 Frederic Lepied <flepied@mandrakesoft.com> - version 0.2. Fri Oct 01 1999 Frederic Lepied <flepied@mandrakesoft.com> - First spec file for Mandrake distribution.
2004-11-08 05:18:23 +00:00
%changelog
* Thu Jan 25 2024 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-5
- Filter out python-missing-require warnings,
Fedora's style of Python requirements is not supported
- Resolves: rhbz#2260169
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 4 2024 Tom Callaway <spot@fedoraproject.org> - 2.5.0-3
- reset checks after each package, thanks to Daniel García Moreno
2023-11-25 12:44:53 +00:00
* Sat Nov 25 2023 Zephyr Lykos <fedora@mochaa.ws> - 2.5.0-2
- Migrate patches to pyproject.toml (rhbz#1899279)
2023-11-21 17:33:55 +00:00
* Tue Nov 21 2023 Tom Callaway <spot@fedoraproject.org> - 2.5.0-1
- update to 2.5.0
* Mon Jul 24 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.0-11
- Disable ErlangCheck by default in RHEL builds
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-06-15 10:07:28 +00:00
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 2.4.0-9
- Rebuilt for Python 3.12
* Thu May 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.0-8
- Limit deps and don't ship Fedora config in RHEL builds
* Thu May 25 2023 Todd Zullinger <tmz@pobox.com> - 2.4.0-7
- adjust for rpm-4.19.0 API changes
* Mon Mar 20 2023 Todd Zullinger <tmz@pobox.com> - 2.4.0-6
- handle license exception in grouping, better (rhbz#2175241)
* Mon Mar 06 2023 Todd Zullinger <tmz@pobox.com> - 2.4.0-5
- handle license exception in grouping (rhbz#2175241)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Oct 07 2022 Todd Zullinger <tmz@pobox.com> - 2.4.0-3
- disable various errors/warnings for debug/devel packages
- fix broken regex for no-manual-page-for-binary check (rhbz#2132936)
- ignore missing-hash-section error (rhbz#2132969)
* Wed Oct 05 2022 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-2
- remove the license list, depend on rpmlint-fedora-license-data instead
* Tue Oct 04 2022 Todd Zullinger <tmz@pobox.com> - 2.4.0-1
- update to 2.4.0 (rhbz#2088759)
- use python build-dependency generator
- own %%{_sysconfdir}/xdg/rpmlint directory
* Sat Sep 24 2022 Todd Zullinger <tmz@pobox.com> - 2.3.0-1
- update to 2.3.0 (rhbz#2088759)
- convert license to SPDX and correct to GPL-2.0-or-later
- enable tests by default, avoid warnings about pytest.mark.no_cover marker
* Sat Sep 24 2022 Tom Callaway <spot@fedoraproject.org> - 2.2.0-7
- update licenses.toml to reflect change in Fedora licensing identifiers
* Mon Aug 08 2022 Miro Hrončok <mhroncok@redhat.com> - 2.2.0-6
- Require desktop-file-validate to avoid a fatal error when the RPM has .desktop files
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-14 14:55:20 +00:00
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.2.0-4
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jan 6 2022 Tom Callaway <spot@fedoraproject.org> - 2.2.0-2
- disable no-library-dependency-for/on checks in Fedora
* Thu Dec 09 2021 Stephen Smoogen <ssmoogen@redhat.com> - 2.2.0-1
- Update to upstream 2.2.0
2021-12-07 13:07:36 +00:00
* Tue Dec 07 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.1.0-6
- Fix some rpmlint policy issues
2021-10-05 19:36:31 +00:00
* Tue Oct 5 2021 Tom Callaway <spot@fedoraproject.org> - 2.1.0-5
- add explicit Requires for pyenchant
* Thu Sep 16 2021 Tom Callaway <spot@fedoraproject.org> - 2.1.0-4
- fix rpmlintrc load from cmdline option (bz2000018)
* Sun Sep 05 2021 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-3
- Ignore hidden-file-or-dir for .cargo-checksum.json
* Tue Aug 17 2021 Tom Callaway <spot@fedoraproject.org> - 2.1.0-2
- include iso-639-2 collective language codes in LANGUAGES
2021-08-17 20:16:13 +00:00
* Tue Aug 17 2021 Tom Callaway <spot@fedoraproject.org> - 2.1.0-1
- update to 2.1.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-07-07 12:52:20 +00:00
* Wed Jul 7 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.0-5
- add Requires: rpm-build
* Thu Jul 1 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.0-4
- fix rpmlint -i where it wrongly assumes a tmp dir
2021-06-04 16:03:28 +00:00
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-3
- Rebuilt for Python 3.10
2021-06-04 13:45:21 +00:00
* Fri Jun 4 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.0-2
- add dash and checkbashisms as Requires
2021-06-03 18:59:34 +00:00
* Thu Jun 3 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.0-1
- update to 2.0.0
* Tue May 11 2021 Todd Zullinger <tmz@pobox.com> - 1.11-17
- use proper folder _sourcedir for spec files (upstream PR#633)
Resolves: rhbz#1959363
* Tue Apr 13 2021 Miro Hrončok <mhroncok@redhat.com> - 1.11-16
- Filter out empty specfile-errors, they are duplicates
2021-02-05 15:16:26 +00:00
* Fri Feb 5 2021 Tom Callaway <spot@fedoraproject.org> - 1.11-15
- correct hard-coded version in Makefile
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 25 2021 Miro Hrončok <mhroncok@redhat.com> - 1.11-13
- Filter out empty py.typed files in Python site-packages
* Fri Aug 21 2020 Miro Hrončok <mhroncok@redhat.com> - 1.11-12
- Filter out empty REQUESTED files in pip installed Python metadata dist-info dirs
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Miro Hrončok <mhroncok@redhat.com> - 1.11-10
- Don't use the %%python_sitelib macro, because it errors
- See https://fedoraproject.org/wiki/Changes/PythonMacroError
2020-06-23 13:39:00 +00:00
* Tue Jun 23 2020 Tom Callaway <spot@fedoraproject.org> - 1.11-9
- use python3-file-magic on f33+
* Tue Jun 16 2020 Tom Callaway <spot@fedoraproject.org> - 1.11-8
- turn *-not-linked-against-libc from errors to warnings (bz1749738)
* Wed Jun 10 2020 Tom Callaway <spot@fedoraproject.org> - 1.11-7
- add /usr/bin/python[23] as valid shells
2020-05-24 08:33:39 +00:00
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.11-6
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-08-17 17:34:19 +00:00
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.11-4
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-07-11 21:11:21 +00:00
* Thu Jul 11 2019 Tom Callaway <spot@fedoraproject.org> - 1.11-2
- merge conflig file cleanups from PR
2019-06-21 14:49:39 +00:00
* Fri Jun 21 2019 Tom Callaway <spot@fedoraproject.org> - 1.11-1
- update to 1.11
* Sun Mar 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10-22
- Suppress locale error in order to work in default mock (#1668400)
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jan 16 2019 Tom Callaway <spot@fedoraproject.org> - 1.10-20
- ignore info-files-without-install-info-postin/postun checks
* Fri Dec 7 2018 Tom Callaway <spot@fedoraproject.org> - 1.10-19
- ignore non-standard-dir-perm error for 700 dirs in /etc and /var/lib
2018-10-05 19:43:45 +00:00
* Fri Oct 5 2018 Tom Callaway <spot@fedoraproject.org> - 1.10-18
- force python3 as exec binary
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-18 19:16:07 +00:00
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10-16
- Rebuilt for Python 3.7
* Sun Jun 17 2018 Todd Zullinger <tmz@pobox.com> - 1.10-15
- Fix mixed-use-of-spaces-and-tabs warning (in this spec file)
- Remove el4/el5 configs and /usr/bin symlinks
- Disable automatic compilation of Python files in /usr/share/rpmlint
- Fix non-ghost-in-run filter in config
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10-14
- apply upstream fix for python 3.7 new magic numbers
2018-06-02 18:40:46 +00:00
* Sat Jun 2 2018 Tom Callaway <spot@fedoraproject.org> 1.10-13
- apply upstream fix for python 3.7 mtime handling
* Thu May 03 2018 Todd Zullinger <tmz@pobox.com> - 1.10-12
- Properly handle the exception on missing files (bz1574509)
- Explicitly disable the non-standard-group check
* Wed Apr 18 2018 Todd Zullinger <tmz@pobox.com>
- Ignore 'no-documentation' in debugsource packages
- Ignore /usr/src/debug/ in debugsource packages
* Tue Apr 17 2018 Tom Callaway <spot@fedoraproject.org> - 1.10-11
- disable library-without-ldconfig-postin/postun checks (F28+)
2018-04-17 16:32:00 +00:00
* Tue Apr 17 2018 Tom Callaway <spot@fedoraproject.org> - 1.10-10
- fix flake errors (merge upstream changes)
* Mon Apr 16 2018 Todd Zullinger <tmz@pobox.com> - 1.10-9
- Update UsrLibBinaryException config to include .build-id
- Ignore useless-provides on debuginfo provides (bz1489096)
2018-03-04 22:02:47 +00:00
* Sun Mar 04 2018 Till Maas <opensource@till.name> - 1.10-8
- Update URL (RH #1547150)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-15 14:10:52 +00:00
* Mon Jan 15 2018 Karsten Hopp <karsten@redhat.com> - 1.10-6
- fix python3 conditional
* Sun Oct 29 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-5
- ignore common jargon words in spellcheck
* Sun Oct 29 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-4
- fix SSL_CTX_set_cipher_list waiver
- use raw strings in config file to silence python3 deprecation warnings
* Mon Sep 11 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-3
- use correct config file option for debugsource
* Fri Sep 8 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-2
- update config file to reflect new licenses and to ignore devel files in debugsource packages
2017-09-05 18:52:32 +00:00
* Tue Sep 5 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-1
- update to 1.10
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-17 13:57:13 +00:00
* Mon Jul 17 2017 Tom Callaway <spot@fedoraproject.org> - 1.9-11
- apply upstream fix for buildid
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 1.9-10
- perl dependency renamed to perl-interpreter
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
* Fri Apr 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.9-9
- Upstream fix for str object has no attribute decode (bz1439941)
* Thu Mar 9 2017 Charalampos Stratakis <cstratak@redhat.com> - 1.9-8
- Update Python 3.5.3 magic bytecode value
* Wed Feb 8 2017 Tom Callaway <spot@fedoraproject.org> - 1.9-7
- apply upstream fix to not demand versioned filename Provides/Obsoletes
* Thu Dec 29 2016 Adam Williamson <awilliam@redhat.com> - 1.9-6
- Update Python 3.6 magic bytecode value (github PR #7)
2016-12-13 23:08:52 +00:00
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.9-5
- Rebuild for Python 3.6
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 1.9-4
- Use %%license
- BR python-flake8-import-order for tests
* Fri Aug 26 2016 Tom Callaway <spot@fedoraproject.org> - 1.9-3
- ignore long description lines for debuginfo packages
* Mon Jul 25 2016 Tom Callaway <spot@fedoraproject.org> - 1.9-2
- fix 403 ignore rule for github to be more complete (bz1359582)
2016-07-08 15:05:57 +00:00
* Wed Jul 6 2016 Tom Callaway <spot@fedoraproject.org> - 1.9-1
- update to 1.9
* Tue Jun 14 2016 Tom Callaway <spot@fedoraproject.org> - 1.8-7
- ignore explicit-lib-dependency on python subpackages with "lib"
- update license list
* Mon Apr 18 2016 Tom Callaway <spot@fedoraproject.org> - 1.8-6
- update license list
- add github.com to the filter ignore list for 403 errors (bz1326855)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
* Mon Sep 28 2015 Tom Callaway <spot@fedoraproject.org> - 1.8-2
- fix issue in config regex causing bitbucket URLs to slip through invalid-url filter
2015-09-25 17:51:08 +00:00
* Fri Sep 25 2015 Tom Callaway <spot@fedoraproject.org> - 1.8-1
- 1.8
- add bad crypto warning to config file
- update license list
2015-07-10 15:46:52 +00:00
* Fri Jul 10 2015 Tom Callaway <spot@fedoraproject.org> - 1.7-1
- 1.7
- add python conditionals
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri May 29 2015 Tom Callaway <spot@fedoraproject.org> - 1.6-3
- filter out failure from broken webservers
- add new licenses
2014-12-09 19:47:16 +00:00
* Tue Dec 9 2014 Tom Callaway <spot@fedoraproject.org> - 1.6-2
- update license list in config file
2014-09-04 13:40:52 +00:00
* Thu Sep 4 2014 Tom Callaway <spot@fedoraproject.org> - 1.6-1
- update to 1.6
* Wed Jun 25 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-12
2014-06-25 16:39:23 +00:00
- add systemd to UsrLibBinaryException
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-29 18:25:30 +00:00
* Thu May 29 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-10
- fix python 3.4 magic number (#1102846)
* Mon May 12 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-9
- update config to ignore non-readable /etc/ovirt-engine/isouploader.conf
* Mon Feb 10 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-8
- filter out broken-syntax-in-scriptlet-requires (except on el4/5)
- update license list
* Sun Feb 9 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.5-7
- Make default config Python 3 compatible.
2013-12-12 18:29:23 +00:00
* Thu Dec 12 2013 Tom Callaway <spot@fedoraproject.org> - 1.5-6
- fix unicode naming bug (bz 1036310)
* Mon Nov 11 2013 Tom Callaway <spot@fedoraproject.org> - 1.5-5
- do not modify sys.argv[0] (bz 1026333)
- fix unbound var in MenuXDGCheck.py (bz 1026328)
* Wed Oct 9 2013 Tom Callaway <spot@fedoraproject.org> - 1.5-4
- Fix handling of Exec= with an absolute path (bz991278)
- Update license list, add AGPLv3+ (bz894187)
* Tue Aug 6 2013 Thomas Woerner <twoerner@redhat.com> - 1.5-3
- Fixed URL and Source0, now using sourceforge.net
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-17 17:41:17 +00:00
* Fri May 17 2013 Tom Callaway <spot@fedoraproject.org> - 1.5-1
- update to 1.5
* Mon Apr 1 2013 Tom Callaway <spot@fedoraproject.org> - 1.4-14
- explicitly Require: perl (bz919865)
- fix lua binary detection (bz919869)
* Wed Mar 6 2013 Tom Callaway <spot@fedoraproject.org> - 1.4-13
- update license list
- exclude non-config files that live in /etc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Nov 6 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-11
2016-07-08 15:09:06 +00:00
- add Requires: %%{_bindir}/groff for man page checks (bz 873448)
* Thu Sep 6 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-10
- fix handling of ruby RI files as text files (they are binary files)
- apply upstream fix for macro regexp
* Tue Sep 4 2012 Thomas Woerner <twoerner@redhat.com> - 1.4-9
- fix build for RHEL: no bash-completion
* Tue Aug 14 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-8
- add magic number fix for python 3 (bz845972)
- update license list
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jan 23 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4-6
- Patch to fix messages that contain unicode summaries
https://bugzilla.redhat.com/show_bug.cgi?id=783912
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Dec 15 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-4
2011-12-15 20:10:57 +00:00
- Do not throw an error on .desktop files set +x. (bz 767978)
2011-12-05 20:50:22 +00:00
* Mon Dec 5 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-3
- own %%{_datadir}/bash-completion/ (thanks Ville Skyttä)
* Mon Dec 5 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-2
- add BR: bash-completion for the pc file
* Mon Dec 5 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-1
- update to 1.4
2011-10-12 18:51:03 +00:00
* Wed Oct 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.3-2
- apply upstream fix for false error on checking ghosted man pages for
encoding (bz745446)
- update config to reflect new licenses (bz741298)
2011-07-12 14:59:05 +00:00
* Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.3-1
- update to 1.3
* Sun Apr 24 2011 Tom Callaway <spot@fedoraproject.org> - 1.2-1
- update to 1.2
- filter away files-attr-not-set for all targets except EL-4 (bz694579)
2011-03-03 17:08:22 +00:00
* Thu Mar 3 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-3
2011-03-03 17:07:13 +00:00
- apply upstream fix for source url aborts (bz 680781)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-04 16:20:54 +00:00
* Fri Feb 4 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-1
- update to 1.1
* Tue Dec 7 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3
- fix typo in changelog
- %% comment out item in changelog
- simplify el4/el5 config files (thanks to Ville Skyttä)
* Mon Dec 6 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-2
- add support for el4-rpmlint, el5-rpmlint
- disable no-cleaning-of-buildroot checks for Fedora
- disable no-buildroot-tag check for Fedora
- disable no-%%clean-section check for Fedora
* Mon Nov 1 2010 Ville Skyttä <ville.skytta@iki.fi> - 1.0-1
- Update to 1.0; fixes #637956, and #639823.
- Sync Fedora license list with Wiki revision 1.85.
- Whitelist more expectedly setuid executables; fixes #646455.
* Thu Aug 19 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.99-1
- Update to 0.99; fixes #623607, helps work around #537430.
- Sync Fedora license list with Wiki revision 1.80.
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 0.98-2
- recompiling .py files against Python 2.7 (rhbz#623355)
* Wed Jun 23 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.98-1
- Update to 0.98; fixes #599427 and #599516.
- Filter out all lib*-java and lib*-python explicit-lib-dependency messages.
- Sync Fedora license list with Wiki revision 1.75; fixes #600317.
* Tue May 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.97-1
- Update to 0.97; fixes #459452, #589432.
- Filter out explicit-lib-dep messages for libvirt(-python) (Dan Kenigsberg).
- Sync Fedora license list with Wiki revision 1.73.
* Thu Apr 22 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.96-1
- Update to 0.96; fixes #487974, #571375, #571386, #572090, #572097, #578390.
- Sync Fedora license list with Wiki revision 1.71.
* Sat Mar 6 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.95-2
- Patch to fix non-coherent-filename regression for source packages.
* Wed Mar 3 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.95-1
- Update to 0.95; fixes #564585, #567285, #568498, and #570086.
* Mon Feb 1 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.94-1
- Update to 0.94; rpm >= 4.8.0 spec file check fix included upstream.
- Sync Fedora license list with Wiki revision 1.65 (#559156).
* Tue Jan 26 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.93-2
- Apply upstream patch to fix spec file check with rpm >= 4.8.0.
* Mon Jan 25 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.93-1
- Update to 0.93; fixes #531102 and #555284.
- Enable checks requiring network access in default config.
- Disallow kernel module packages in default config.
- Remove old X11R6 dirs from paths treated as system ones in default config.
- Sync Fedora license list with Wiki revision 1.64.
- Omit python-enchant and python-magic dependencies when built on EL.
* Mon Nov 2 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.92-1
- Update to 0.92; fixes #528535, and #531102 (partially).
- Python byte compile patch applied/superseded upstream.
- Add <lua> to list of valid scriptlet shells.
- Sync Fedora license list with Wiki revision 1.53.
* Mon Sep 14 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.91-1
- Update to 0.91; fixes #513811, #515185, #516492, #519694, and #521630.
- Add dependencies on gzip, bzip2, and xz.
- Sync Fedora license list with Wiki revision 1.49.
- Move pre-2008 %%changelog entries to CHANGES.package.old.
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jun 29 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.90-1
2009-06-29 15:36:38 +00:00
- 0.90; fixes #508683.
* Sun Jun 21 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.89-1
- Update to 0.89; fixes #461610, #496735, #496737 (partially), #498107,
#491188, and #506957.
- Sync Fedora license list with Wiki revision 1.44.
- Parse list of standard users and groups from the setup package's uidgid file.
* Thu Mar 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.87-1
- 0.87; fixes #480664, #483196, #483199, #486748, #488146, #488930, #489118.
- Sync Fedora license list with Wiki revision 1.38.
- Configs patch included upstream.
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Jan 20 2009 Ville Skyttä <ville.skytta@iki.fi>
- Sync Fedora license list with Wiki revision 1.34.
- Filter out filename-too-long-for-joliet and symlink-should-be-* warnings in
default config.
2008-12-01 15:00:40 +00:00
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.85-3
- Rebuild for Python 2.6
* Thu Oct 30 2008 Ville Skyttä <ville.skytta@iki.fi> - 0.85-2
- Apply upstream patch to load all *config from /etc/rpmlint.
* Thu Oct 23 2008 Ville Skyttä <ville.skytta@iki.fi> - 0.85-1
- 0.85, fixes #355861, #450011, #455371, #456843, #461421, #461423, #461434.
- Mute some explicit-lib-dependency false positives (#458290).
- Sync Fedora license list with Wiki revision 1.19.
- Dist regex patch applied/superseded upstream.
2008-09-12 17:00:21 +00:00
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.84-3
- Sync Fedora license list with Wiki revision 1.09
* Sat Jul 26 2008 Ville Skyttä <ville.skytta@iki.fi> - 0.84-2
- 0.84, fixes #355861, #456304.
- Sync Fedora license list with Wiki revision "16:08, 18 July 2008".
- Rediff patches.
* Tue May 27 2008 Ville Skyttä <ville.skytta@iki.fi> - 0.83-1
- 0.83, fixes #237204, #428096, #430206, #433783, #434694, #444441.
- Fedora licensing patch applied upstream.
- Move pre-2007 changelog entries to CHANGES.package.old.
- Sync Fedora license list with Revision 0.88.
* Tue May 20 2008 Todd Zullinger <tmz@pobox.com>
- Sync Fedora license list with Revision 0.83 (Wiki rev 131).
* Mon Mar 3 2008 Ville Skyttä <ville.skytta@iki.fi> - 0.82-3
- Sync Fedora license list with Revision 0.69 (Wiki rev 110) (#434690).