diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-05-18 07:31:59 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-05-18 07:31:59 +0200 |
commit | 214db0a713fad05d0294f34bbb9221ea89705569 (patch) | |
tree | 8dc54e1a4e2d98fbe3027f44539baf0c3924eb26 | |
parent | 8a549a267225dd0e8174ad441a24b0fba233a5b5 (diff) |
php-whitehat101-apr1-md5: add backport stuff
-rw-r--r-- | php-whitehat101-apr1-md5.spec | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/php-whitehat101-apr1-md5.spec b/php-whitehat101-apr1-md5.spec index 462d973..244fa5f 100644 --- a/php-whitehat101-apr1-md5.spec +++ b/php-whitehat101-apr1-md5.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-whitehat101-apr1-md5, from Fedora: # # RPM spec file for php-whitehat101-apr1-md5 # @@ -35,6 +36,7 @@ License: MIT URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch # For autoload generation BuildRequires: %{_bindir}/phpab @@ -70,6 +72,7 @@ MD5 Hashing Algorithm in pure PHP. %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir}/WhiteHat101/Crypt cp -rp src/* %{buildroot}%{phpdir}/WhiteHat101/Crypt/ @@ -83,7 +86,12 @@ cp -rp src/* %{buildroot}%{phpdir}/WhiteHat101/Crypt/ %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc README.md @@ -93,5 +101,8 @@ cp -rp src/* %{buildroot}%{phpdir}/WhiteHat101/Crypt/ %changelog +* Mon May 18 2015 Remi Collet <RPMS@FamilleCollet.com> - 1.0.0-1 +- add needed backport stuff for remi repository + * Sat May 16 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0.0-1 - Initial package |