diff options
author | Remi Collet <remi@remirepo.net> | 2017-04-24 07:55:08 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-04-24 07:55:08 +0200 |
commit | 898126d4f4b496f3ca8aa541a0a94833373fb47a (patch) | |
tree | 7e47340c1fe91b96a1be6898dfca159f414acd1b | |
parent | 109cfa1d74f7db3956d3770ba25f1f5bace7f528 (diff) |
v1.6.5
-rwxr-xr-x | makesrc.sh | 28 | ||||
-rw-r--r-- | php-theseer-fDOMDocument.spec | 11 |
2 files changed, 7 insertions, 32 deletions
diff --git a/makesrc.sh b/makesrc.sh deleted file mode 100755 index 87d223d..0000000 --- a/makesrc.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -NAME=$(basename $PWD) -OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) -PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) -VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) -COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) -SHORT=${COMMIT:0:7} - -echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" - -echo "Cloning..." -rm -rf $PROJECT-$COMMIT -git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT - -echo "Getting commit..." -pushd $PROJECT-$COMMIT -git checkout $COMMIT -cp composer.json ../composer.json -popd - -echo "Archiving..." -tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT - -echo "Cleaning..." -rm -rf $PROJECT-$COMMIT - -echo "Done." diff --git a/php-theseer-fDOMDocument.spec b/php-theseer-fDOMDocument.spec index d670f2b..c5f85e8 100644 --- a/php-theseer-fDOMDocument.spec +++ b/php-theseer-fDOMDocument.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # -%global gh_commit cf219ede922fb47956726f35e2127277ebd302ca +%global gh_commit 8dcfd392135a5bd938c3c83ea71419501ad9855d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner theseer %global gh_project fDOMDocument @@ -16,15 +16,14 @@ %global pear_channel pear.netpirates.net Name: php-theseer-fDOMDocument -Version: 1.6.4 +Version: 1.6.5 Release: 1%{?dist} Summary: An Extension to PHP standard DOM Group: Development/Libraries License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: %{name}-%{version}-%{gh_short}.tgz -Source1: makesrc.sh +Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz BuildArch: noarch BuildRequires: php(language) >= 5.3.3 @@ -104,6 +103,10 @@ fi %changelog +* Mon Apr 24 2017 Remi Collet <remi@remirepo.net> - 1.6.5-1 +- Update to 1.6.5 (no change) +- sources from git archive (tests are back) + * Fri Apr 21 2017 Remi Collet <remi@remirepo.net> - 1.6.4-1 - Update to 1.6.4 (no change) - sources from git snapshot to retrieve test suite |