Am 06.11.2015 um 16:43 schrieb Piotr Gbyliczek:
If you decide to take it for a spin, remember that until
obsoletes/requirements/conflicts are not sorted via spec files, I'm not changing
release variable. That means version from today won't be picked up to upgrade
on machine that had older installed. it may require removing all packages from
my copr repo manually from the system. VM based testing is strongly
suggested
hence i modified the %dist tag on all my buildmachines so that it
contains the build-day because i got tired of edit the release tag
additionally to the version or because i decided to re-organize
subpackages here and there
[builduser@buildserver:~]$ cat .rpmmacros
%_topdir %(echo $HOME)/rpmbuild
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
%fedora 22
%dist .fc%fedora.%(echo $(/bin/date +%Y%m%d)).rh
%packager Reindl Harald
%vendor thelounge interactive design
%php_api .php55
%_smp_mflags -j10
%_include_minidebuginfo 0
%_binary_payload w1.gzdio
%_source_payload w1.gzdio
%__global_ldflags -Wl,-z,now -Wl,-z,relro,-z,noexecstack
%configure \
CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS; \
CXXFLAGS="${CXXFLAGS:-%optflags}"; export CXXFLAGS; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}"; export FFLAGS; \
FCFLAGS="${FCFLAGS:-%optflags -I%_fmoddir}"; export FCFLAGS; \
LDFLAGS="${LDFLAGS:-%__global_ldflags}"; export LDFLAGS; \
./configure \\\
--host=x86_64-redhat-linux \\\
--build=x86_64-redhat-linux \\\
--target=x86_64-redhat-linux \\\
--program-prefix=%{?_program_prefix} \\\
--disable-dependency-tracking \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\
--bindir=%{_bindir} \\\
--sbindir=%{_sbindir} \\\
--sysconfdir=%{_sysconfdir} \\\
--datadir=%{_datadir} \\\
--includedir=%{_includedir} \\\
--libdir=%{_libdir} \\\
--libexecdir=%{_libexecdir} \\\
--localstatedir=%{_localstatedir} \\\
--sharedstatedir=%{_sharedstatedir} \\\
--mandir=%{_mandir} \\\
--infodir=%{_infodir}