public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-pear-Mail-Mime] f44: v1.10.13
@ 2026-08-11  8:19 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-08-11  8:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/php-pear-Mail-Mime
            Branch : f44
            Commit : 37239dc41170d804b66911d6ebc06ce9d990f325
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-08-11T10:19:16+02:00
            Stats  : +78/-14 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/php-pear-Mail-Mime/c/37239dc41170d804b66911d6ebc06ce9d990f325?branch=f44

            Log:
            v1.10.13

(cherry picked from commit e9057c4dbfae6d616c5598670e75c997823b618b)

---
diff --git a/.gitignore b/.gitignore
index cbc7af2..27d2a8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ package*.xml
 /Mail_Mime-1.10.10.tgz
 /Mail_Mime-1.10.11.tgz
 /Mail_Mime-1.10.12.tgz
+/php-pear-Mail-Mime-1.10.13.tgz

diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..b78f0b4
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,35 @@
+{
+    "authors": [
+        {
+            "email": "cipri@php.net",
+            "name": "Cipriano Groenendal",
+            "role": "Lead"
+        },
+        {
+            "email": "alec@php.net",
+            "name": "Aleksander Machniak",
+            "role": "Lead"
+        }
+    ],
+    "autoload": {
+        "psr-0": {
+            "Mail": "./"
+        }
+    },
+    "description": "Mail_Mime provides classes to create MIME messages",
+    "homepage": "http://pear.php.net/package/Mail_Mime",
+    "include-path": [
+        "./"
+    ],
+    "license": "BSD-3-Clause",
+    "name": "pear/mail_mime",
+    "support": {
+        "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Mail_Mime",
+        "source": "https://github.com/pear/Mail_Mime"
+    },
+    "type": "library",
+    "require": {
+        "php": ">=5.2.0",
+        "pear/pear-core-minimal": "*"
+    }
+}

diff --git a/makesrc.sh b/makesrc.sh
new file mode 100755
index 0000000..16389a9
--- /dev/null
+++ b/makesrc.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+NAME=$(basename $PWD)
+OWNER=$(sed   -n '/^%global gh_vend/{s/.* //;p}' $NAME.spec)
+PROJECT=$(sed -n '/^%global gh_proj/{s/.* //;p}' $NAME.spec)
+VERSION=$(sed -n '/^Version:/{s/.* //;p}'        $NAME.spec)
+
+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 "Cloning..."
+	rm -rf $PROJECT-$VERSION
+	git clone https://github.com/$OWNER/$PROJECT.git --depth 1 --branch $VERSION $PROJECT-$VERSION || exit 1
+
+	echo "Getting composer..."
+	cp $PROJECT-$VERSION/composer.json composer.json
+
+	echo "Archiving..."
+	tar czf $NAME-$VERSION.tgz --exclude-vcs $PROJECT-$VERSION
+
+	echo "Cleaning..."
+	rm -rf $PROJECT-$VERSION
+
+	echo "Done."
+fi

diff --git a/php-pear-Mail-Mime.spec b/php-pear-Mail-Mime.spec
index c7dd0c5..282520d 100644
--- a/php-pear-Mail-Mime.spec
+++ b/php-pear-Mail-Mime.spec
@@ -1,6 +1,6 @@
 # spec file for php-pear-Mail-Mime
 #
-# Copyright (c) 2009-2024 Remi Collet
+# Copyright (c) 2009-2026 Remi Collet
 # Copyright (c) 2006-2008 Brandon Holbrook
 #
 # License: MIT
@@ -12,22 +12,22 @@
 %global pear_name Mail_Mime
 
 Name:           php-pear-Mail-Mime
-Version:        1.10.12
-Release:        5%{?dist}
+Version:        1.10.13
+Release:        1%{?dist}
 Summary:        Classes to create MIME messages
 
 License:        BSD-3-Clause
 URL:            http://pear.php.net/package/Mail_Mime
-Source0:        http://pear.php.net/get/Mail_Mime-%{version}.tgz
+# git snapshot for tests
+Source0:        %{name}-%{version}.tgz
+Source1:        makesrc.sh
 
 BuildArch:      noarch
-BuildRequires:  php-pear(PEAR) >= 1.6.0
+BuildRequires:  php-pear
 BuildRequires:  php-mbstring
 
-Requires:       php-pear(PEAR) >= 1.6.0
-Requires:       php-date
+Requires:       php-pear
 Requires:       php-mbstring
-Requires:       php-pcre
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
 
@@ -50,9 +50,8 @@ using RFC2047 and/or RFC2231.
 
 
 %prep
-%setup -q -c 
-cd %{pear_name}-%{version}
-mv ../package.xml %{name}.xml
+%setup -q -n %{pear_name}-%{version}
+mv package.xml %{name}.xml
 
 
 %build
@@ -60,7 +59,6 @@ mv ../package.xml %{name}.xml
 
 
 %install
-cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
@@ -72,7 +70,6 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %check
-cd %{pear_name}-%{version}
 %{__pear} \
    run-tests \
    -i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" \
@@ -99,6 +96,10 @@ fi
 
 
 %changelog
+* Tue Aug 11 2026 Remi Collet <remi@remirepo.net> - 1.10.13-1
+- update to 1.10.13
+- sources from github
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.12-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

diff --git a/sources b/sources
index 2e041ec..62fa2a9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Mail_Mime-1.10.12.tgz) = ce25f788ee9b8f0ce3879a5697f6b7e2e117bf30c6aaf8cf4cfa05723021c8a85152f7142dd5b30c8cf1658d1bc3d6284ea5ce1984b8fae27164661ad6b47b96
+SHA512 (php-pear-Mail-Mime-1.10.13.tgz) = 8bb4242c9e6ea3a497b953d525ca096c8b18ec1b202ceac2bd8631be87091a07b3ae18754c225391610deac5f6f13fadaded2f842710fbf87f72c0213d0bf5f7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11  8:19 [rpms/php-pear-Mail-Mime] f44: v1.10.13 Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox