Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37734446
en ru br
ALT Linux repos
S:0.03-alt1
5.0: 0.02-alt1
4.1: 0.01-alt1

Group :: Development/Other
RPM: repocop-unittest-spec-missing-packager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define testname spec-missing-packager

Name: repocop-unittest-%testname
Version: 0.03
Release: alt1
BuildArch: noarch
Packager: Igor Yu. Vlasenko <viy at altlinux.org>

Summary: %testname intergration tests for repocop test platform
Group: Development/Other
License: GPL or Artistic
Url: http://repocop.altlinux.org
Requires: repocop

%description
%testname intergration test for repocop test platform.
The test checks spec files to have Packager: tag.

%prep

%build
cat > test <<'EOF'
#!/bin/sh
if grep '^Packager:' $REPOCOP_PKG_SPECFILE >/dev/null; then
   exec repocop-test-ok
else
   exec repocop-test-experimental "spec file: missing Packager: tag. Gear unfriendly :("
fi
EOF

%install
mkdir -p $RPM_BUILD_ROOT%_datadir/repocop/srctests/%testname/
%__install -m 755 test $RPM_BUILD_ROOT%_datadir/repocop/srctests/%testname/

%files
#doc README ChangeLog
%_datadir/repocop/srctests/%testname

%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