summaryrefslogtreecommitdiffstats
path: root/php-whitehat101-apr1-md5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-whitehat101-apr1-md5.spec')
-rw-r--r--php-whitehat101-apr1-md5.spec11
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