From 214db0a713fad05d0294f34bbb9221ea89705569 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 May 2015 07:31:59 +0200 Subject: php-whitehat101-apr1-md5: add backport stuff --- php-whitehat101-apr1-md5.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'php-whitehat101-apr1-md5.spec') 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 - 1.0.0-1 +- add needed backport stuff for remi repository + * Sat May 16 2015 Shawn Iwinski - 1.0.0-1 - Initial package -- cgit