From 9240bc73a5be5ebf1a1dae920951aa7ed9d29105 Mon Sep 17 00:00:00 2001 From: clime Date: Jun 03 2017 17:15:30 +0000 Subject: update --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a63bec8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +main.o +main diff --git a/.tito/packages/.readme b/.tito/packages/.readme new file mode 100644 index 0000000..b9411e2 --- /dev/null +++ b/.tito/packages/.readme @@ -0,0 +1,3 @@ +the .tito/packages directory contains metadata files +named after their packages. Each file has the latest tagged +version and the project's relative directory. diff --git a/.tito/packages/example b/.tito/packages/example new file mode 100644 index 0000000..39189ed --- /dev/null +++ b/.tito/packages/example @@ -0,0 +1 @@ +1.0.4-1 subpkg/ diff --git a/.tito/tito.props b/.tito/tito.props new file mode 100644 index 0000000..eab3f19 --- /dev/null +++ b/.tito/tito.props @@ -0,0 +1,5 @@ +[buildconfig] +builder = tito.builder.Builder +tagger = tito.tagger.VersionTagger +changelog_do_not_remove_cherrypick = 0 +changelog_format = %s (%ae) diff --git a/subpkg/Makefile b/subpkg/Makefile new file mode 100644 index 0000000..6343bfa --- /dev/null +++ b/subpkg/Makefile @@ -0,0 +1,11 @@ +CC=gcc +ARGS=-Wall + +all: main.o + ${CC} ${ARGS} -o main main.o + +main.o: main.c + ${CC} -c main.c + +clean: + rm main *.o diff --git a/subpkg/README.md b/subpkg/README.md new file mode 100644 index 0000000..11e2cf6 --- /dev/null +++ b/subpkg/README.md @@ -0,0 +1 @@ +# example UPDATE 2 diff --git a/subpkg/example.spec b/subpkg/example.spec new file mode 100644 index 0000000..3e04fed --- /dev/null +++ b/subpkg/example.spec @@ -0,0 +1,52 @@ +Name: example +Version: 1.0.4 +Release: 1%{?dist} +Summary: This is a simple example to test copr +BuildArch: x86_64 + +Group: Applications/File +License: GPLv2+ +URL: http://github.com +Source0: %{name}-%{version}.tar.gz + +# simulated dependencies +#BuildRequires: desktop-file-utils +#BuildRequires: gtk2-devel gettext + +%description +Simple example to demonstrate copr's abilites. + + +%prep +%setup -q + + +%build +make %{?_smp_mflags} + + +%install +install -d %{buildroot}%{_sbindir} +cp -a main %{buildroot}%{_sbindir}/main + + +%files +%doc + +%{_sbindir}/main + +%changelog +* Thu Jan 21 2016 clime 1.0.4-1 +- new package built with tito + +* Thu Jan 21 2016 clime 1.0.3-1 +- + +* Sun Dec 20 2015 clime 1.0.2-1 +- spec file change + +* Sat Dec 19 2015 Unknown name 1.0.1-1 +- new package built with tito + +* Mon Nov 16 2015 Miroslav Suchý 1.78-1 +- handle_generate_gpg_key skips key creation when signing is disabled diff --git a/subpkg/main.c b/subpkg/main.c new file mode 100644 index 0000000..a46866d --- /dev/null +++ b/subpkg/main.c @@ -0,0 +1,4 @@ +int main() +{ + return 0; +}