Accepting request 536393 from home:jengelh:branches:devel:openSUSE:Factory:rpmlint
- Update descriptions. Use better-performing find invocations. OBS-URL: https://build.opensuse.org/request/show/536393 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=90
This commit is contained in:
parent
e18eb77f84
commit
86d3e5f56c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 13:03:02 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update descriptions. Use better-performing find invocations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 16 11:48:37 UTC 2017 - dmueller@suse.com
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
Name: rpmlint-mini
|
||||
Version: 1.10
|
||||
Release: 0
|
||||
Summary: Rpm correctness checker
|
||||
Summary: RPM file correctness checker
|
||||
License: GPL-2.0+
|
||||
Group: System/Packages
|
||||
Url: http://rpmlint.zarb.org/
|
||||
@ -43,7 +43,7 @@ BuildRequires: rpmlint
|
||||
Requires: cpio
|
||||
|
||||
%description
|
||||
Rpmlint is a tool to check common errors on rpm packages. Binary and
|
||||
rpmlint is a tool to check common errors on RPM packages. Binary and
|
||||
source packages can be checked.
|
||||
|
||||
%prep
|
||||
@ -94,9 +94,9 @@ PYTHONOPTIMIZE=1 python3 -O -m compileall -b *.py
|
||||
rm *.py
|
||||
popd
|
||||
pushd %{buildroot}/opt/testing/%{_lib}/python%{py3_ver}/
|
||||
PYTHONOPTIMIZE=1 find -name \*.py -exec python3 -O -m compileall -b {} \; -exec rm {} \;
|
||||
PYTHONOPTIMIZE=1 find -name \*.py -exec python3 -O -m compileall -b {} \; -delete
|
||||
popd
|
||||
find %{buildroot}/opt/testing/ -name __pycache__ -print | xargs rm -rf
|
||||
find %{buildroot}/opt/testing/ -name __pycache__ -print -exec rm -Rf {} +
|
||||
rm -rf %{buildroot}/{usr,etc}
|
||||
rm -f %{buildroot}/opt/testing/bin/rpmlint
|
||||
install -m 755 -D %{SOURCE101} %{buildroot}/opt/testing/bin/rpmlint
|
||||
|
Loading…
Reference in New Issue
Block a user