Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37747133
en ru br
ALT Linux repos
S:0.16.1.23.48-alt8
5.0: 0.11.1.23.48-alt2

Group :: Development/Other
RPM: repocop-unittest-lintian-noncollectors

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define testname lintian
%define lintianver 1.23.48

Name: repocop-unittest-lintian-noncollectors
Version: 0.16.%lintianver
Release: alt6
BuildArch: noarch
Packager: Igor Vlasenko <viy at altlinux.ru>

Summary: port of lintian integration tests for repocop test platform.
Group: Development/Other
License: GPLv2+
Url: http://repocop.altlinux.org
Requires: repocop > 0.55

Source: %name-%version.tar

%description
Lintian is Debian package checker.
Lintian dissects Debian packages and reports bugs and policy violations. It contains automated checks for many aspects of Debian policy as well as some checks for common errors.

This package contains ports to repocop of the following lintian tests:
aspell-package-not-arch-all
backup-file-in-package
bad-permissions-for-ali-file
desktop-file-in-wrong-dir
executable-manpage
macos-ds-store-file-in-package
macos-resource-fork-file-in-package
old-app-defaults-directory
package-installs-file-to-usr-x11r6
subdir-in-usr-bin
symkink-extra-slash
windows-thumbnail-database-in-package

and also adds distro-undependent tests such as
files-in-usr-src-tmp

%prep
%setup

%build

%install

for i in *.posttest; do
   testname=`echo $i | sed -e s,.posttest\$,,`
   install -pD -m 755 $testname.posttest %buildroot%_datadir/repocop/pkgtests/$testname/posttest
done

for i in *.pl; do
   install -pD -m 644 $i %buildroot%_datadir/repocop/fixscripts/$i
done

%files
%_datadir/repocop/pkgtests/*
%_datadir/repocop/fixscripts/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin