diff options
Diffstat (limited to 'php-when.spec')
-rw-r--r-- | php-when.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/php-when.spec b/php-when.spec index 3bfd887..633ed71 100644 --- a/php-when.spec +++ b/php-when.spec @@ -3,12 +3,14 @@ Version: 0.3 Release: 2%{?dist} Summary: Date/Calendar recursion library for PHP +Group: Development/Libraries License: MIT URL: https://github.com/tplaner/When # Download from # https://github.com/tplaner/When/archive/v0.3.tar.gz Source0: When-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: php-date php-spl @@ -19,6 +21,7 @@ recursion given an iCalendar "rrule" like pattern. %package tests Summary: Test files for %{name} +Group: Development/Libraries Requires: %{name} = %{version}-%{release} # phpunit tests @@ -53,16 +56,21 @@ phpunit -d include_path=%{buildroot}%{_datadir}/php:.:%{_datadir}/php:%{_datadir %files +%defattr(-,root,root,-) %doc README.md %{_datadir}/php/when %files tests +%defattr(-,root,root,-) %dir %{_datadir}/tests %{_datadir}/tests/%{name} %changelog +* Mon Dec 17 2012 Remi Collet <remi@fedoraproject.org> - 0.3-2 +- backport for remi repo. + * Sat Dec 15 2012 Gregor Tätzner <brummbq@fedoraproject.org> - 0.3-2 - enabled phpunit tests - moved tests to %%{_datadir}/tests/%%{name} |