pax_global_header00006660000000000000000000000064112757622100014515gustar00rootroot0000000000000052 comment=8bc86ac4dc09fe0773af0f94b82057cc46c92f3b repocop-unittest-altlinux-java-0.11/000075500000000000000000000000001127576221000175355ustar00rootroot00000000000000repocop-unittest-altlinux-java-0.11/.gear/000075500000000000000000000000001127576221000205315ustar00rootroot00000000000000repocop-unittest-altlinux-java-0.11/.gear/rules000064400000000000000000000000071127576221000216030ustar00rootroot00000000000000tar: . repocop-unittest-altlinux-java-0.11/altlinux-java-duplicate-jars.posttest000064400000000000000000000015001127576221000270240ustar00rootroot00000000000000#!/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.11/altlinux-java-forbidden-requires.posttest000064400000000000000000000013111127576221000277060ustar00rootroot00000000000000#!/bin/sh sqlite3 "$REPOCOP_TEST_TMPDIR/tmp.db" <get_sections()) { next if $section->get_type() ne 'package'; $section->subst_if(qr/j2se/,'java',qr'equires:|PreReq:'); } }; 1; repocop-unittest-altlinux-java-0.11/altlinux-java-obsolete-requires.posttest000064400000000000000000000011141127576221000275670ustar00rootroot00000000000000#!/bin/sh sqlite3 "$REPOCOP_TEST_TMPDIR/tmp.db" <= version) syntax."; done rm $REPOCOP_TEST_TMPDIR/* repocop-unittest-altlinux-java-0.11/repocop-unittest-altlinux-java.spec000064400000000000000000000040351127576221000265140ustar00rootroot00000000000000#define testname spec-has-obsolete-macroses Name: repocop-unittest-altlinux-java Version: 0.11 Release: alt1 BuildArch: noarch Packager: Igor Yu. Vlasenko 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.10 %description set of ALTLinux-specific intergration 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 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 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.