Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
f109988902 dist-git conversion 2010-07-29 09:05:45 +00:00
Bill Nottingham
e5ad3ff47d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:59:22 +00:00
Konstantin Ryabitsev
2c912e19b4 Belatedly update to 1.1.0 final. 2009-03-06 04:19:44 +00:00
Jesse Keating
cb1c128118 Initialize branch F-10 for php-pear-PHP-CodeSniffer 2008-11-07 04:11:32 +00:00
5 changed files with 16 additions and 32 deletions

View file

@ -1 +0,0 @@
PHP_CodeSniffer-1.1.0RC2.tgz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
PHP_CodeSniffer-1.1.0.tgz

View file

@ -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)

View file

@ -1,16 +1,15 @@
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name PHP_CodeSniffer %define pear_name PHP_CodeSniffer
%define rctag RC2
Name: php-pear-PHP-CodeSniffer Name: php-pear-PHP-CodeSniffer
Version: 1.1.0 Version: 1.1.0
Release: 0.1.%{rctag}%{?dist} Release: 1%{?dist}
Summary: PHP coding standards enforcement tool Summary: PHP coding standards enforcement tool
Group: Development/Tools Group: Development/Tools
License: BSD License: BSD
URL: http://pear.php.net/package/PHP_CodeSniffer URL: http://pear.php.net/package/PHP_CodeSniffer
Source0: http://pear.php.net/get/PHP_CodeSniffer-%{version}%{rctag}.tgz Source0: http://pear.php.net/get/PHP_CodeSniffer-%{version}.tgz
Source1: PHP_CodeSniffer-licence.txt Source1: PHP_CodeSniffer-licence.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -39,7 +38,7 @@ This package includes a utility to run PHP_CodeSniffer from command line.
%prep %prep
%setup -q -c %setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml [ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml %{pear_name}-%{version}%{rctag}/%{pear_name}.xml mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
%build %build
@ -47,7 +46,7 @@ mv package2.xml %{pear_name}-%{version}%{rctag}/%{pear_name}.xml
%install %install
cd %{pear_name}-%{version}%{rctag} cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
@ -87,8 +86,8 @@ fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc %{pear_name}-%{version}%{rctag}/PHP_CodeSniffer-licence.txt %doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt
%doc %{pear_name}-%{version}%{rctag}/docdir/* %doc %{pear_name}-%{version}/docdir/*
%{pear_xmldir}/%{pear_name}.xml %{pear_xmldir}/%{pear_name}.xml
%{pear_testdir}/%{pear_name} %{pear_testdir}/%{pear_name}
%dir %{pear_phpdir}/PHP %dir %{pear_phpdir}/PHP
@ -97,12 +96,18 @@ fi
%files -n phpcs %files -n phpcs
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc %{pear_name}-%{version}%{rctag}/PHP_CodeSniffer-licence.txt %doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt
%doc %{pear_name}-%{version}%{rctag}/phpcs-svn-pre-commit %doc %{pear_name}-%{version}/phpcs-svn-pre-commit
%{_bindir}/phpcs %{_bindir}/phpcs
%changelog %changelog
* Thu Mar 05 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.1.0-1
- Belatedly update to 1.1.0 final.
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.2.RC2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jun 30 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.1.0-0.1.RC2 * Mon Jun 30 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.1.0-0.1.RC2
- Upstream 1.1.0RC2 - Upstream 1.1.0RC2

View file

@ -1 +1 @@
c7b10489c21b73e56b67cfa967eb1672 PHP_CodeSniffer-1.1.0RC2.tgz b5f727311b091ee6b6edf8ffcc411e71 PHP_CodeSniffer-1.1.0.tgz