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
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