Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20deb7f6e8 | ||
|
|
7bc3016687 | ||
|
|
b5b5ab4e01 | ||
|
|
f83f2efd60 | ||
|
|
16bb0433e3 | ||
|
|
d6281cbe3a |
5 changed files with 16 additions and 25 deletions
|
|
@ -1 +0,0 @@
|
|||
PHP_CodeSniffer-0.5.0.tgz
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
PHP_CodeSniffer-0.8.0.tgz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: php-pear-PHP-CodeSniffer
|
||||
# $Id$
|
||||
NAME := php-pear-PHP-CodeSniffer
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
%define pear_name PHP_CodeSniffer
|
||||
|
||||
Name: php-pear-PHP-CodeSniffer
|
||||
Version: 0.5.0
|
||||
Version: 0.8.0
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP coding standards enforcement tool
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||
|
||||
BuildArch: noarch
|
||||
BuildRequires: php-pear >= 1:1.4.9-1.2
|
||||
Requires: php-pear(PEAR), php-common > 5.1.0
|
||||
Requires: php-pear(PEAR)
|
||||
Requires(post): %{__pear}
|
||||
Requires(postun): %{__pear}
|
||||
Provides: php-pear(%{pear_name}) = %{version}
|
||||
|
|
@ -87,11 +87,23 @@ fi
|
|||
%{pear_phpdir}/PHP/*
|
||||
|
||||
%files -n phpcs
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 17 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.8.0-1
|
||||
- Upstream 0.8.0
|
||||
|
||||
* Mon Jun 11 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.7.0-1
|
||||
- Upstream 0.7.0
|
||||
- Drop Requirement on php-common (php-pear pulls that in)
|
||||
|
||||
* Mon Jun 11 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.6.0-1
|
||||
- Upstream 0.6.0
|
||||
- Fix owner on phpcs
|
||||
|
||||
* Tue Apr 17 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.5.0-1
|
||||
- Upstream 0.5.0
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
63b01bd1299a3bc50d06a0a3dfb30cc7 PHP_CodeSniffer-0.5.0.tgz
|
||||
a106c8c1abfc35ba590d6bc0f7e2acff PHP_CodeSniffer-0.8.0.tgz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue