Group :: Desenvolvimento/Outros
RPM: repocop-unittest-systemd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: repocop-unittest-systemd
Version: 0.07
Release: alt1
BuildArch: noarch
Packager: Igor Vlasenko <viy at altlinux.ru>
Url: http://repocop.altlinux.org
Summary: systemd integration tests for repocop test platform.
Group: Development/Other
License: GPLv2+
Source: %name-%version.tar
# for pixmap-in-deprecated-location
# Requires: pcregrep
Requires: repocop-collector-systemd
Requires: repocop > 0.59
%description
The test check systemd related files.
%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 systemd.dir-verify.pl %buildroot%_bindir/systemd.dir-verify.pl
rm systemd.dir-verify.pl
for i in *.pl; do
install -pD -m 644 $i %buildroot%_datadir/repocop/fixscripts/$i
done
%files
%_bindir/*
%_datadir/repocop/pkgtests/*
%_datadir/repocop/fixscripts/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.07
Release: alt1
BuildArch: noarch
Packager: Igor Vlasenko <viy at altlinux.ru>
Url: http://repocop.altlinux.org
Summary: systemd integration tests for repocop test platform.
Group: Development/Other
License: GPLv2+
Source: %name-%version.tar
# for pixmap-in-deprecated-location
# Requires: pcregrep
Requires: repocop-collector-systemd
Requires: repocop > 0.59
%description
The test check systemd related files.
%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 systemd.dir-verify.pl %buildroot%_bindir/systemd.dir-verify.pl
rm systemd.dir-verify.pl
for i in *.pl; do
install -pD -m 644 $i %buildroot%_datadir/repocop/fixscripts/$i
done
%files
%_bindir/*
%_datadir/repocop/pkgtests/*
%_datadir/repocop/fixscripts/*
%changelog
…
Todas as alterações você pod ver aqui