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