pax_global_header00006660000000000000000000000064117765660220014526gustar00rootroot0000000000000052 comment=70601bc57caf41501f26d61f013088d5412f10e0 repocop-unittest-altlinux-java-0.13/000075500000000000000000000000001177656602200175505ustar00rootroot00000000000000repocop-unittest-altlinux-java-0.13/.gear/000075500000000000000000000000001177656602200205445ustar00rootroot00000000000000repocop-unittest-altlinux-java-0.13/.gear/rules000064400000000000000000000000071177656602200216160ustar00rootroot00000000000000tar: . repocop-unittest-altlinux-java-0.13/altlinux-java-duplicate-jars.distrotest000064400000000000000000000015061177656602200273640ustar00rootroot00000000000000#!/bin/sh sqlite3 "$REPOCOP_TEST_TMPDIR/tmp.db" <d.name AND d.name not in (select e.conflictname from rpm_conflicts as e where a.pkgid=e.pkgid) AND c.name not in (select f.conflictname from rpm_conflicts as f where b.pkgid=f.pkgid); EOSQL perl -ne 'chomp;@a=split /\t/;system("repocop-test-info -k $a[1] file $a[0] confilicts with package: $a[2]: if the jar do provide the same standard interface, it should be alternative. Otherwise it is recommended to rename the jar")' $REPOCOP_TEST_TMPDIR/msg rm $REPOCOP_TEST_TMPDIR/* repocop-unittest-altlinux-java-0.13/altlinux-java-forbidden-requires.posttest000064400000000000000000000013111177656602200277210ustar00rootroot00000000000000#!/bin/sh sqlite3 "$REPOCOP_TEST_TMPDIR/tmp.db" < Url: http://repocop.altlinux.org Summary: repocop package checks for conformance with Java Packaging Policy. Group: Development/Other License: GPL or Artistic #Url: Source: %name-%version.tar Requires: repocop >= 0.59 %description set of ALTLinux-specific integration tests for repocop test platform. The tests checks packages for conformance with Java Packaging Policy. %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 *.distrotest; do testname=`echo $i | sed -e s,.distrotest\$,,` install -pD -m 755 $testname.distrotest %buildroot%_datadir/repocop/pkgtests/$testname/distrotest done install -d -m 755 %buildroot%_datadir/repocop/fixscripts/ #install -m 644 *.pl %buildroot%_datadir/repocop/fixscripts/ %files #doc README ChangeLog %_datadir/repocop/pkgtests/* #%_datadir/repocop/fixscripts/* %changelog * Mon Jul 09 2012 Igor Vlasenko 0.13-alt1 - added distrotest * Wed Nov 09 2011 Igor Vlasenko 0.12-alt1 - updated tests * Mon Nov 09 2009 Igor Vlasenko 0.11-alt1 - removed obsolete altlinux-java-not-buildrequires-rpm-build-java * Wed Sep 30 2009 Igor Vlasenko 0.10-alt1 - posttests migration * Wed May 27 2009 Igor Vlasenko 0.09-alt1 - added exception for java-1.x.x-gcj * Fri May 15 2009 Igor Vlasenko 0.08-alt1 - fixes in forbidden-requires * Fri Jan 16 2009 Igor Vlasenko 0.07-alt1 - repocop 0.10 support * Wed Dec 24 2008 Igor Vlasenko 0.06-alt1 - added altlinux-java-forbidden-requires test * Sat Dec 13 2008 Igor Vlasenko 0.05-alt1 - added altlinux-java-obsolete-java4.done * Sat Nov 29 2008 Igor Vlasenko 0.04-alt1 - added altlinux-java-not-buildrequires-rpm-build-java test * Mon Aug 11 2008 Igor Vlasenko 0.03-alt1 - fixes in duplicate jar test * Fri Aug 08 2008 Igor Vlasenko 0.02-alt1 - added altlinux-java-duplicate-jars test * Tue Aug 05 2008 Igor Vlasenko 0.01-alt1 - First build for Sisyphus.