From 2fd07dc0d80556bf886b66e3ca6094bfb6f1add5 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 31 Oct 2018 20:02:29 +0100 Subject: [PATCH] fullnames --- .gitignore | 1 + FULLNAMES | 1 + Makefile | 2 +- oss-pkg-BlitzrechnenV12.spec => oss-pkg-BlitzrechnenV12.spec.in | 0 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 FULLNAMES rename oss-pkg-BlitzrechnenV12.spec => oss-pkg-BlitzrechnenV12.spec.in (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45136fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oss-pkg-BlitzrechnenV12.spec diff --git a/FULLNAMES b/FULLNAMES new file mode 100644 index 0000000..3aab14e --- /dev/null +++ b/FULLNAMES @@ -0,0 +1 @@ +Blitzrechnen diff --git a/Makefile b/Makefile index 50c588a..f74caeb 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ YEAR = $(shell date +%Y ) package: - if [ ! -e oss-pkg-$(PACKAGE).spec ]; then cp ../template/package.spec oss-pkg-$(PACKAGE).spec; fi + sed s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec.in > oss-pkg-$(PACKAGE).spec sed -i s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec sed -i s/RELEASE/$(NRELEASE)/g oss-pkg-$(PACKAGE).spec sed -i s/PACKAGE/$(PACKAGE)/g oss-pkg-$(PACKAGE).spec diff --git a/oss-pkg-BlitzrechnenV12.spec b/oss-pkg-BlitzrechnenV12.spec.in similarity index 100% rename from oss-pkg-BlitzrechnenV12.spec rename to oss-pkg-BlitzrechnenV12.spec.in -- 2.43.0