public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-doctrine-deprecations] rawhide: v1.2.0
Date: Fri, 13 Nov 2026 07:43:47 GMT	[thread overview]
Message-ID: <179455582788.1.6323323498483290812.rpms-php-doctrine-deprecations-5e1a4a795081@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php-doctrine-deprecations
Branch : rawhide
Commit : 5e1a4a7950817c43c4de80508b9c29575ff25271
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-11-13T08:43:36+01:00
Stats  : +22/-25 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/php-doctrine-deprecations/c/5e1a4a7950817c43c4de80508b9c29575ff25271?branch=rawhide

Log:
v1.2.0

---
diff --git a/.gitignore b/.gitignore
index d61bd0b..bbd61e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /php-doctrine-deprecations-1.1.4-31610db.tgz
 /php-doctrine-deprecations-1.1.5-459c2f5.tgz
 /php-doctrine-deprecations-1.1.6-d4fe3e6.tgz
+/php-doctrine-deprecations-1.2.0.tgz

diff --git a/makesrc.sh b/makesrc.sh
index 9a194e7..f2a2aed 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -4,29 +4,24 @@ 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}
 
-if [ -f $NAME-$VERSION-$SHORT.tgz ]; then
-	echo $NAME-$VERSION-$SHORT.tgz already there
+if [ -f $NAME-$VERSION.tgz ]; then
+	echo "$NAME-$VERSION.tgz already there"
 else
-	echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n"
+	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
+	rm -rf $PROJECT-$VERSION
+	git clone https://github.com/$OWNER/$PROJECT.git --depth 1 --branch $VERSION $PROJECT-$VERSION || exit 1
 
-	echo "Getting commit..."
-	pushd $PROJECT-$COMMIT
-		git checkout $COMMIT || exit 1
-		cp composer.json ../composer.json
-	popd
+	echo "Getting composer..."
+	cp $PROJECT-$VERSION/composer.json composer.json
 
 	echo "Archiving..."
-	tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT
+	tar czf $NAME-$VERSION.tgz --exclude-vcs $PROJECT-$VERSION
 
 	echo "Cleaning..."
-	rm -rf $PROJECT-$COMMIT
+	rm -rf $PROJECT-$VERSION
 
 	echo "Done."
 fi

diff --git a/php-doctrine-deprecations.spec b/php-doctrine-deprecations.spec
index b38ad54..99cf3aa 100644
--- a/php-doctrine-deprecations.spec
+++ b/php-doctrine-deprecations.spec
@@ -9,8 +9,6 @@
 
 %bcond_without       tests
 
-%global gh_commit    d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca
-%global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner     doctrine
 %global gh_project   deprecations
 # packagist
@@ -21,17 +19,17 @@
 %global ns_project   Deprecations
 
 Name:           php-%{pk_vendor}-%{pk_project}
-Version:        1.1.6
-Release:        2%{?dist}
+Version:        1.2.0
+Release:        1%{?dist}
 Summary:        A small layer on top of triggeFr_error or PSR-3 logging
 
 License:        MIT
 URL:            https://github.com/%{gh_owner}/%{gh_project}
-Source0:        %{name}-%{version}-%{gh_short}.tgz
+Source0:        %{name}-%{version}.tgz
 Source1:        makesrc.sh
 
 BuildArch:      noarch
-BuildRequires:  php(language) >= 7.1
+BuildRequires:  php(language) >= 7.4
 BuildRequires:  php-fedora-autoloader-devel
 %if %{with tests}
 # From composer.json
@@ -48,11 +46,11 @@ BuildRequires:  phpunit12
 
 # From composer.json
 #    "require": {
-#        "php": "^7.1 || ^8.0",
+#        "php": "^7.4 || ^8.0",
 #    "suggest": {
 #        "psr/log": "Allows logging deprecations via PSR-3 logger implementation"
 
-Requires:       php(language) >= 7.1
+Requires:       php(language) >= 7.4
 Requires:      (php-composer(psr/log) >= 1.0   with php-composer(psr/log) < 4)
 # From phpcompatinfo report for version 0.5.3
 # Only core and standard
@@ -81,7 +79,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php
 
 
 %prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
 
 
 %build
@@ -125,7 +123,7 @@ cat << 'EOF' | tee -a vendor/autoload.php
 EOF
 
 ret=0
-for cmd in "php %{phpunit}" "php82 %{_bindir}/phpunit11" "php83 %{_bindir}/phpunit12" "php84 %{_bindir}/phpunit12" "php85 %{_bindir}/phpunit13"; do
+for cmd in "php %{phpunit}" "php82 %{_bindir}/phpunit11" "php83 %{_bindir}/phpunit12" "php84 %{_bindir}/phpunit12" "php85 %{_bindir}/phpunit13" "php86 %{_bindir}/phpunit13"; do
   if which $cmd; then
     set $cmd
     $1 -d auto_prepend_file=vendor/autoload.php \
@@ -149,6 +147,9 @@ exit $ret
 
 
 %changelog
+* Fri Nov 13 2026 Remi Collet <remi@remirepo.net> - 1.2.0-1
+- update to 1.2.0
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 64b4ea4..f856af1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-doctrine-deprecations-1.1.6-d4fe3e6.tgz) = 244f25b45699a28af6ea6aec223e0764edb6cf9f255d9ceade3620699d1205bc9cd62aee55cd30d2ceacebf7fa076d4841407e8609c41e40cb4ec064e3f58294
+SHA512 (php-doctrine-deprecations-1.2.0.tgz) = bfd32ccfa919314bd157a0af682e9be4eda74085fa6a7c9f02c46a09535ee8d582d40a990761bc7b3b860b1c1792798a3481df8ea6960c7ab4dd694f1b8bcdd2

                 reply	other threads:[~2026-11-13  7:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179455582788.1.6323323498483290812.rpms-php-doctrine-deprecations-5e1a4a795081@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox