[packages/php-symfony-DeprecationContracts] Initial
arekm
arekm at pld-linux.org
Sat Apr 4 00:15:24 CEST 2026
commit 6922cf6e7aea1e7e08ef4a0f09de4f103896ba86
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Apr 4 00:14:58 2026 +0200
Initial
php-symfony-DeprecationContracts.spec | 39 +++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
---
diff --git a/php-symfony-DeprecationContracts.spec b/php-symfony-DeprecationContracts.spec
new file mode 100644
index 0000000..d678c4e
--- /dev/null
+++ b/php-symfony-DeprecationContracts.spec
@@ -0,0 +1,39 @@
+%define php_min_version 8.1
+Summary: Symfony Deprecation Contracts - trigger deprecation notices
+Name: php-symfony-DeprecationContracts
+Version: 3.6.0
+Release: 1
+License: MIT
+Group: Development/Languages/PHP
+Source0: https://github.com/symfony/deprecation-contracts/archive/v%{version}/deprecation-contracts-%{version}.tar.gz
+# Source0-md5: bdd1e9e3a4cae2d7eb2f483bcd090afc
+URL: https://github.com/symfony/deprecation-contracts
+BuildRequires: rpmbuild(macros) >= 1.610
+Requires: php(core) >= %{php_min_version}
+Requires: php-dirs >= 1.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A generic function and convention to trigger deprecation notices. This
+package provides the trigger_deprecation() function used by Symfony
+components and other PHP libraries.
+
+%prep
+%setup -q -n deprecation-contracts-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Contracts/Deprecation
+cp -a function.php $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Contracts/Deprecation
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md LICENSE README.md
+%dir %{php_data_dir}/Symfony
+%dir %{php_data_dir}/Symfony/Contracts
+%dir %{php_data_dir}/Symfony/Contracts/Deprecation
+%{php_data_dir}/Symfony/Contracts/Deprecation/function.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony-DeprecationContracts.git/commitdiff/6922cf6e7aea1e7e08ef4a0f09de4f103896ba86
More information about the pld-cvs-commit
mailing list