]> repo.cephalix.eu Git - Audacity.git/commitdiff
New release
authorbuildmaster <buildmaster@git.cephalix.eu>
Sun, 30 Aug 2020 09:56:01 +0000 (11:56 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Sun, 30 Aug 2020 09:56:01 +0000 (11:56 +0200)
Makefile
RELEASE

index 0c0dc1cd6d9c4770ffe17d25f416d5e02ab6b76d..fd29b89fdfd7e5d696298b554c96c69c0f0f6158 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE         = $(shell basename `pwd` )
 DESTDIR         = /
-REPO            = /srv/www/repo/TESTING/salt-packages/
+REPO            = /srv/www/repo/salt-packages/
 VERSION         = $(shell cat VERSION )
 RELEASE         = $(shell cat RELEASE )
 NRELEASE        = $(shell echo $(RELEASE) + 1 | bc )
@@ -12,8 +12,6 @@ package:
        sed -i s/PACKAGE/$(PACKAGE)/g  oss-pkg-$(PACKAGE).spec
        sed -i s/YEAR/$(YEAR)/g        oss-pkg-$(PACKAGE).spec
        ../oss-pkg-tools/create_hash.sh $(PACKAGE)
-       rm -rf oss-pkg-$(PACKAGE)
-       rm -rf repo-ng/repo-ng
        mkdir -p oss-pkg-$(PACKAGE)
        sed s/PACKAGE/$(PACKAGE)/g  $(PACKAGE).sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls
        if [ -d repo-ng ]; then ln -s ../repo-ng/ oss-pkg-$(PACKAGE)/repo-ng; fi
@@ -21,7 +19,7 @@ package:
        rm -rf oss-pkg-$(PACKAGE)
        mv  oss-pkg-$(PACKAGE).tar.bz2  /usr/src/packages/SOURCES/
        rpmbuild -bb oss-pkg-$(PACKAGE).spec
-       for i in $(REPO)/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm; do test -e $$i && rm $$i; done 
+       find $(REPO)/noarch -name oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm*  -exec rm {} \;
        mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
        echo $(NRELEASE) > RELEASE
        git commit -a -m "New release"
diff --git a/RELEASE b/RELEASE
index 7f8f011eb73d6043d2e6db9d2c101195ae2801f2..45a4fb75db864000d01701c0f7a51864bd4daabf 100644 (file)
--- a/RELEASE
+++ b/RELEASE
@@ -1 +1 @@
-7
+8