Accepting request 33498 from Base:System
Copy from Base:System/rpmlint-mini based on submit request 33498 from user lnussel OBS-URL: https://build.opensuse.org/request/show/33498 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint-mini?expand=0&rev=30
This commit is contained in:
parent
7bd87f6bd7
commit
bfbc178d74
2
polkit-default-privs.config
Normal file
2
polkit-default-privs.config
Normal file
@ -0,0 +1,2 @@
|
||||
# vim: syntax=python
|
||||
setOption("PolkitPrivsFiles", "/opt/testing/share/rpmlint/data/polkit-default-privs.standard")
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 14:27:35 UTC 2010 - lnussel@suse.de
|
||||
|
||||
- configure CheckPolkitPrivs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 14:11:47 UTC 2010 - lnussel@suse.de
|
||||
|
||||
|
@ -22,9 +22,11 @@
|
||||
Name: rpmlint-mini
|
||||
BuildRequires: glib2-devel pkg-config python-xml rpm-python rpmlint
|
||||
BuildRequires: python-magic
|
||||
# need to fetch the file from there
|
||||
BuildRequires: polkit-default-privs
|
||||
Summary: Rpm correctness checker
|
||||
Version: 1.0
|
||||
Release: 219
|
||||
Release: 220
|
||||
Url: http://rpmlint.zarb.org/
|
||||
License: GPLv2+
|
||||
Group: System/Packages
|
||||
@ -34,6 +36,7 @@ Patch10: static-desktop-file-validate.diff
|
||||
Source100: rpmlint-deps.txt
|
||||
Source101: rpmlint.wrapper
|
||||
Source102: rpmlint-mini.config
|
||||
Source103: polkit-default-privs.config
|
||||
|
||||
%description
|
||||
Rpmlint is a tool to check common errors on rpm packages. Binary and
|
||||
@ -73,7 +76,13 @@ for i in rpmgroups.config; do
|
||||
cp /etc/rpmlint/$i $RPM_BUILD_ROOT/opt/testing/share/rpmlint/mini
|
||||
done
|
||||
install -m 644 -D /usr/share/rpmlint/config $RPM_BUILD_ROOT/opt/testing/share/rpmlint/config
|
||||
install -m 644 "%{SOURCE102}" $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint-mini.config
|
||||
for config in "%{SOURCE102}" "%{SOURCE103}"; do
|
||||
install -m 644 "$config" $RPM_BUILD_ROOT/opt/testing/share/rpmlint/
|
||||
done
|
||||
# extra data
|
||||
install -m 755 -d $RPM_BUILD_ROOT/opt/testing/share/rpmlint/data
|
||||
install -m 644 /etc/polkit-default-privs.standard $RPM_BUILD_ROOT/opt/testing/share/rpmlint/data
|
||||
#
|
||||
cd %{py_libdir}
|
||||
for f in $(<%{SOURCE100}); do
|
||||
find -path "*/$f" -exec install -D {} $RPM_BUILD_ROOT/opt/testing/%{_lib}/python%{py_ver}/{} \;
|
||||
|
Loading…
Reference in New Issue
Block a user