From b646d2d267f9b4e1be719a974719a464867dbe87 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 3 Aug 2019 04:53:37 +0200 Subject: [PATCH] Better examples. --- grammar/spec.example | 25 ------------------------- samples/recipe-example.spec | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 grammar/spec.example diff --git a/grammar/spec.example b/grammar/spec.example deleted file mode 100644 index 3e0b31f..0000000 --- a/grammar/spec.example +++ /dev/null @@ -1,25 +0,0 @@ -name: hello -version: 2.10 -versions: 2.10, 2.9, 2.8, 2.7, 2.6 - -# Lists. -sources: - - https://ftp.gnu.org/gnu/%{name}-%{version}/hello-%{version}.tar.gz - - https://second.url.example.com/hello/hello-%{version}.tar.gz - -packager: Luka Vandervelden -url: https://www.gnu.org/software/hello/ -flavors: nls, minimal -# This are blocks of free text. - -@configure - cd hello-%{version} - ./configure - -@build - cd hello-%{version} - make - -@install - cd hello-%{version} - make DESTDIR="$PKG" install diff --git a/samples/recipe-example.spec b/samples/recipe-example.spec index ad5610f..e584812 100644 --- a/samples/recipe-example.spec +++ b/samples/recipe-example.spec @@ -3,7 +3,7 @@ version: 2.10 versions: 2.10, 2.9, 2.8, 2.7, 2.6 # Lists. sources: - - https://ftp.gnu.org/gnu/hello/hello-%{version}.tar.gz + - https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz packager: Luka Vandervelden url: https://www.gnu.org/software/hello/