Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
df433b1c30 dist-git conversion 2010-07-29 09:05:41 +00:00
Bill Nottingham
94ba870331 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:59:22 +00:00
Konstantin Ryabitsev
3adb8d1591 New upstream 1.0.1 and related adjustments. 2008-02-17 20:30:37 +00:00
Jesse Keating
bbb6e46ed5 Initialize branch F-8 for php-pear-PHP-CodeSniffer 2007-10-20 09:34:53 +00:00
5 changed files with 16 additions and 28 deletions

View file

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

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
PHP_CodeSniffer-1.0.1.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

@ -2,7 +2,7 @@
%define pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
Version: 0.8.0
Version: 1.0.1
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@ -43,6 +43,8 @@ cd %{pear_name}-%{version}
%build
cd %{pear_name}-%{version}
# Empty build section,
%install
@ -50,9 +52,10 @@ cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
# Move documentation (none packaged so far)
# mkdir -p docdir
# mv $RPM_BUILD_ROOT%{pear_docdir}/* docdir
# Move documentation
mkdir -p docdir
mv $RPM_BUILD_ROOT%{pear_datadir}/%{pear_name}/*.sample.conf docdir/
cp %{SOURCE1} .
# Clean up unnecessary files
@ -80,11 +83,13 @@ fi
%files
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt
%doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt
%doc %{pear_name}-%{version}/docdir/*
%{pear_xmldir}/%{pear_name}.xml
%{pear_testdir}/%{pear_name}
%dir %{pear_phpdir}/PHP
%{pear_phpdir}/PHP/*
%dir %{pear_datadir}/%{pear_name}
%files -n phpcs
%defattr(-,root,root,-)
@ -93,6 +98,10 @@ fi
%changelog
* Sun Feb 17 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.0.1-1
- Upstream 1.0.1
- Move sample config into docs
* Fri Aug 17 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.8.0-1
- Upstream 0.8.0

View file

@ -1 +1 @@
a106c8c1abfc35ba590d6bc0f7e2acff PHP_CodeSniffer-0.8.0.tgz
500a5fc5236190217c579548304f7155 PHP_CodeSniffer-1.0.1.tgz