rpms/specspo/devel specspo-make.patch, NONE, 1.1 specspo.spec, 1.35, 1.36
Štěpán Kasal (kasal)
fedora-extras-commits at redhat.com
Fri Oct 5 11:49:11 UTC 2007
- Previous message (by thread): rpms/selinux-policy/devel booleans-targeted.conf, 1.29, 1.30 policy-20070703.patch, 1.80, 1.81 selinux-policy.spec, 1.539, 1.540
- Next message (by thread): rpms/at/devel at-3.1.10-pam_keyring.patch, NONE, 1.1 at.spec, 1.58, 1.59 atd.init, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kasal
Update of /cvs/pkgs/rpms/specspo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18727
Modified Files:
specspo.spec
Added Files:
specspo-make.patch
Log Message:
- specspo-make.patch: build *.mo only if both *.po are available.
specspo-make.patch:
--- NEW FILE specspo-make.patch ---
Index: Makefile
===================================================================
RCS file: /usr/local/CVS/specspo/dist/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- specspo-15/dist/Makefile 4 Oct 2007 14:40:02 -0000 1.13
+++ specspo-15/dist/Makefile 5 Oct 2007 11:31:38 -0000
@@ -6,14 +6,10 @@
INSTALLNLSDIR=/usr/share/locale
NAME=redhat-dist
-DESCFILES = $(shell ls desc/*.po)
-SUMFILES = $(shell ls summary/*.po)
+POFILES = $(filter $(patsubst desc/%,%,$(wildcard desc/*.po)), \
+ $(patsubst summary/%,%,$(wildcard summary/*.po)))
-POFILES = $(sort $(patsubst desc/%,%,$(DESCFILES)) $(patsubst summary/%,%,$(SUMFILES)))
-
-MOFILES = $(patsubst %.po,%.mo,$(POFILES))
-
-all: $(MOFILES)
+all: $(POFILES:po=mo)
install: all
mkdir -p $(DESTDIR)/$(INSTALLNLSDIR)
Index: specspo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/specspo/devel/specspo.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- specspo.spec 5 Oct 2007 10:49:45 -0000 1.35
+++ specspo.spec 5 Oct 2007 11:48:39 -0000 1.36
@@ -11,12 +11,15 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gettext
+Patch: specspo-make.patch
+
%description
The specspo package contains the portable object catalogues used to
internationalize Fedora packages.
%prep
%setup -q
+%patch -p0
%build
make
@@ -46,6 +49,7 @@
- Removed C.po, they do not contain any information; removed the code to handle
them in the Makefile.
- Removed Makefile.rules, it is not used.
+- specspo-make.patch: build *.mo only if both *.po are available.
* Thu May 24 2007 Martin Bacovsky <mbacovsk at redhat.com> - 14-1
- Updated translations
- Previous message (by thread): rpms/selinux-policy/devel booleans-targeted.conf, 1.29, 1.30 policy-20070703.patch, 1.80, 1.81 selinux-policy.spec, 1.539, 1.540
- Next message (by thread): rpms/at/devel at-3.1.10-pam_keyring.patch, NONE, 1.1 at.spec, 1.58, 1.59 atd.init, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list