parent
e6cf082307
commit
1468d1ba3f
@ -1 +1 @@
|
||||
rpmlint-0.94.tar.bz2
|
||||
rpmlint-0.95.tar.bz2
|
||||
|
@ -40,13 +40,14 @@ setOption("DanglingSymlinkExceptions", (
|
||||
setOption("ValidLicenses", (
|
||||
# These are the short names for all of the Fedora approved licenses.
|
||||
# The master list is kept here: http://fedoraproject.org/wiki/Licensing
|
||||
# Last synced with revision "1.65, 26 Jan 2010" of that page.
|
||||
# Last synced with revision "1.68, 18 Feb 2010" of that page.
|
||||
'AAL',
|
||||
'Adobe',
|
||||
'ADSL',
|
||||
'AFL',
|
||||
'AGPLv1',
|
||||
'AGPLv3',
|
||||
'AGPLv3 with exceptions',
|
||||
'AMDPLPA',
|
||||
'AMPAS BSD',
|
||||
'ARL',
|
||||
@ -177,6 +178,7 @@ setOption("ValidLicenses", (
|
||||
'PHP',
|
||||
'PlainTeX',
|
||||
'Plexus',
|
||||
'PostgreSQL',
|
||||
'psutils',
|
||||
'Public Domain',
|
||||
'Python',
|
||||
@ -242,16 +244,22 @@ setOption("ValidLicenses", (
|
||||
'Green OpenMusic',
|
||||
'OAL',
|
||||
# Font licenses
|
||||
'AMS',
|
||||
'Arphic',
|
||||
'Baekmuk',
|
||||
'Bitstream Vera',
|
||||
'DoubleStroke',
|
||||
'Hershey',
|
||||
'IPA',
|
||||
'Liberation',
|
||||
'Lucida',
|
||||
'MgOpen',
|
||||
'mplus',
|
||||
'OFL',
|
||||
'PTFL',
|
||||
'STIX',
|
||||
'Utopia',
|
||||
'Wadalab',
|
||||
'XANO',
|
||||
# Others
|
||||
'Redistributable, no modification permitted',
|
||||
@ -269,7 +277,9 @@ try:
|
||||
except:
|
||||
pass
|
||||
if setup_pkg:
|
||||
uidgid_regex = re.compile('^\s*(\S+)\s+(-|\d+)\s+(-|\d+)\s')
|
||||
users = set()
|
||||
groups = set()
|
||||
uidgid_regex = re.compile(r'^\s*(\S+)\s+(-|\d+)\s+(-|\d+|\(\d+\))\s')
|
||||
for uidgid_file in [x for x in setup_pkg.files() if x.endswith('/uidgid')]:
|
||||
if os.path.exists(uidgid_file):
|
||||
fobj = open(uidgid_file)
|
||||
@ -279,15 +289,17 @@ if setup_pkg:
|
||||
if res:
|
||||
name = res.group(1)
|
||||
if res.group(2) != '-':
|
||||
getOption('StandardUsers').append(name)
|
||||
if res.group(3) != '-':
|
||||
getOption('StandardGroups').append(name)
|
||||
users.add(name)
|
||||
if res.group(3) != '-' and not '(' in res.group(3):
|
||||
groups.add(name)
|
||||
del res
|
||||
del line
|
||||
finally:
|
||||
fobj.close()
|
||||
del fobj
|
||||
del uidgid_regex, uidgid_file
|
||||
setOption('StandardUsers', sorted(users))
|
||||
setOption('StandardGroups', sorted(groups))
|
||||
del uidgid_regex, uidgid_file, users, groups
|
||||
del setup_pkg
|
||||
|
||||
# Output filters
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name: rpmlint
|
||||
Version: 0.94
|
||||
Version: 0.95
|
||||
Release: 1%{?dist}
|
||||
Summary: Tool for checking common errors in RPM packages
|
||||
|
||||
@ -16,7 +16,7 @@ BuildArch: noarch
|
||||
BuildRequires: python >= 2.4
|
||||
BuildRequires: rpm-python >= 4.4
|
||||
BuildRequires: sed >= 3.95
|
||||
Requires: rpm-python >= 4.4
|
||||
Requires: rpm-python >= 4.4.2.2
|
||||
Requires: python >= 2.4
|
||||
%if ! 0%{?rhel}
|
||||
# python-magic and python-enchant are actually optional dependencies, but
|
||||
@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* 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).
|
||||
|
Loading…
Reference in New Issue
Block a user