This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to annotated tag example-1.0.12-1
in repository copr/copr.
commit 1173c13b7e221e5cdf32742ee9bb85bdcfef9917
Author: clime <clime(a)redhat.com>
AuthorDate: Sun Dec 20 00:28:27 2015 +0100
Automatic commit of package [example] release [1.0.2-1].
---
.tito/packages/example | 2 +-
Makefile | 13 +++++++++++--
example.spec | 17 +++++++++++------
3 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/.tito/packages/example b/.tito/packages/example
index 601ef96..062f380 100644
--- a/.tito/packages/example
+++ b/.tito/packages/example
@@ -1 +1 @@
-1.0.1-1 ./
+1.0.2-1 ./
diff --git a/Makefile b/Makefile
index 33a94c2..6343bfa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,11 @@
-all:
- gcc main.c
+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/example.spec b/example.spec
index f8fe131..3e202c0 100644
--- a/example.spec
+++ b/example.spec
@@ -1,8 +1,8 @@
Name: example
-Version: 1.0.1
+Version: 1.0.2
Release: 1%{?dist}
Summary: This is a simple example to test copr
-BuildArch: noarch
+BuildArch: x86_64
Group: Applications/File
License: GPLv2+
@@ -10,8 +10,8 @@ URL:
http://github.com
Source0: %{name}-%{version}.tar.gz
# simulated dependencies
-BuildRequires: desktop-file-utils
-BuildRequires: gtk2-devel gettext
+#BuildRequires: desktop-file-utils
+#BuildRequires: gtk2-devel gettext
%description
Simple example to demonstrate copr's abilites.
@@ -22,18 +22,23 @@ Simple example to demonstrate copr's abilites.
%build
-%configure
make %{?_smp_mflags}
%install
-%make_install
+install -d %{buildroot}%{_sbindir}
+cp -a main %{buildroot}%{_sbindir}/main
%files
%doc
+%{_sbindir}/main
+
%changelog
+* Sun Dec 20 2015 clime <clime(a)redhat.com> 1.0.2-1
+- spec file change
+
* Sat Dec 19 2015 Unknown name 1.0.1-1
- new package built with tito
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.