Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37711683
en ru br
ALT Linux repos
S:0.03-alt1

Group :: Development/Other
RPM: repocop-unittest-rpm-tags

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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

Summary: test for tag values in rpm packages.
Group: Development/Other
License: GPL or Artistic
Url: http://repocop.altlinux.org
Requires: repocop > 0.59
Requires: perl-RPM-Source-Editor >= 0.40
Requires: repocop-collector-rpm-ext >= 0.05

Source: %name-%version.tar

%description
integration test for repocop test platform.

%prep
%setup -q

%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 *.distrotest; do
   testname=`echo $i | sed -e s,.distrotest\$,,`
   install -pD -m 755 $testname.distrotest %buildroot%_datadir/repocop/pkgtests/$testname/distrotest
done

# stub for 2-in-1 test rpm-obsolete-live-package

mkdir -p %buildroot%_datadir/repocop/pkgtests/rpm-package-is-obsoleted/
touch %buildroot%_datadir/repocop/pkgtests/rpm-package-is-obsoleted/distrotest
chmod 755 %buildroot%_datadir/repocop/pkgtests/rpm-package-is-obsoleted/distrotest

#mkdir -p %buildroot%_datadir/repocop/fixscripts/

#install -m 644 *.pl %buildroot%_datadir/repocop/fixscripts/

%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